Enrico Tröger
981fe45e26
Don't allow changing the encoding or setting a BOM if the file is read only.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@921 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-23 20:56:11 +00:00
Enrico Tröger
47a71bc3aa
Added new encoding "None" to open files without any character conversions ( fixes #1580456 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@920 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-23 20:32:37 +00:00
Enrico Tröger
84a4e8d817
Added drop down box to the file open dialog to select an encoding.
...
Added possibility to open a file without any character set conversions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-23 00:05:42 +00:00
Enrico Tröger
86ffa880d9
Added shebang detection for D files (dmd).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@918 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 17:30:24 +00:00
Enrico Tröger
df1023213c
Let the Find, Replace and FIF dialogs use the word at current cursor position if there is no selection.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@917 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:52:42 +00:00
Enrico Tröger
6e4e05d957
Removed previously added configuration option and removed the right alignment of the toolbar quit button.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@916 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:38:04 +00:00
Enrico Tröger
596a3c7e0a
Added configuration option for the alignment of toolbar quit button.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:07:36 +00:00
Nick Treleaven
03eae9ebc4
Add separate Replace button, rename old button Replace & Find.
...
Add expander to group Replace All options for Replace dialog.
Use Replace All In Session button instead of checkbox.
Add border, update packing for all dialogs in search.c.
Add ui_dialog_vbox_new() for consistent dialog borders.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 14:56:05 +00:00
Nick Treleaven
6cd8983e36
Moved finalization code from destroyapp() to main_quit().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:34:18 +00:00
Nick Treleaven
72f287fe0f
Move geany_debug prototype to geany.h so that all files can use it
...
without a dependency on main.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:16:54 +00:00
Nick Treleaven
5349889a00
Add G_GNUC_PRINTF checks for variable argument function prototypes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@911 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:01:34 +00:00
Nick Treleaven
89b3f4c314
Remove unused argument. Rename document_find_next() document_search_bar_find().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@910 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:00:37 +00:00
Nick Treleaven
f391cc9588
Make search bar automatically wraparound if necessary.
...
Detect when Find has searched all text and display a 'not found'
message on the status bar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@909 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 10:50:45 +00:00
Nick Treleaven
06e8521a82
Use Untitled string for unsaved dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-20 16:40:12 +00:00
Nick Treleaven
119a256c15
Add drop-down recent files menu to Open toolbar button.
...
Align quit toolbar button on the right.
Move Colour Chooser, Word Count to Tools menu.
Reorder Format, add Indent icons, edit Remove Indicators items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@907 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-20 12:31:22 +00:00
Nick Treleaven
df64d0a535
Added 6pt border, changed padding for all dialogs in dialogs.c;
...
also allow ESC to close cancellable dialogs.
Updated unsaved, LaTeX Set Arguments dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-19 16:26:29 +00:00
Enrico Tröger
27f591660c
Keep treeview enum values in sync with the notebook page numbers.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@905 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-19 13:19:58 +00:00
Enrico Tröger
59335b597f
Use enum values to reference different treeview widgets (code cleanup).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 20:48:54 +00:00
Enrico Tröger
10c0780d4d
Use "::" as context separator only for C++, otherwise use ".".
...
Detect module declarations in D and put them in the symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 20:11:05 +00:00
Nick Treleaven
e821acb863
Move build menu related functions and callbacks to build.c.
...
Renamed ui_update_build_menu -> build_menu_update.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 19:35:42 +00:00
Nick Treleaven
ecdb3beca3
Fixed Undo/Redo setting the wrong document changed state when making
...
edits after saving a file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@901 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-17 16:41:29 +00:00
Nick Treleaven
367f358181
Disable Make All, Make Custom menu items for unnamed files.
...
Allow Run and Make Object for C header files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-17 12:52:32 +00:00
Enrico Tröger
bf50ce06e9
Added Italian translation (thanks to M. Baldinelli and Dario Santomarco).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@899 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-17 09:01:13 +00:00
Nick Treleaven
078742fc5c
Move build_info struct to build.c and merge with build_options.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-16 14:41:57 +00:00
Nick Treleaven
3a721f02d1
Don't overwrite Make Custom string when using Make Object.
...
Move app->build_make_custopt to build_options struct in build.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@897 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-16 14:15:04 +00:00
Nick Treleaven
219eaf3dcd
Change goto matching brace default keybinding to
...
CTRL-SHIFT-< (requires shift on some keyboards).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@896 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-16 14:09:20 +00:00
Enrico Tröger
2f5ee59a29
Improved symbol list view for filetype Java.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@895 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-13 23:47:18 +00:00
Enrico Tröger
90fe91b7d7
Fixed compiler warning.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@894 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-13 23:04:04 +00:00
Nick Treleaven
0ecb15ad7d
Fix infinite loop from parsing current function name.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@893 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-13 12:40:37 +00:00
Enrico Tröger
d4704e4656
Fixed tagmanager lang index for filetype Diff.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@892 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 23:02:59 +00:00
Enrico Tröger
3f9c00e2ba
Improved function name parsing to fix some invalid parsed function names.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 22:21:29 +00:00
Nick Treleaven
37f6349e31
Fix parsing the current function name for Java.
...
When the document is unedited, get the current function name from
the previous function tag parsed by tagmanager.
Don't update the current function if the cursor is 1 line from the
previous call and the fold level is unchanged.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@890 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 16:27:31 +00:00
Nick Treleaven
7f0ca5eebf
Backported tm_get_current_function() from Anjuta
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 16:25:53 +00:00
Nick Treleaven
9755a044dd
Small fix for sign warning
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 16:25:11 +00:00
Nick Treleaven
56ac6ddc17
Added sci_get_last_child(), sci_get_fold_parent().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 16:24:34 +00:00
Enrico Tröger
2da21eb5cc
Fixed compiler warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 10:45:49 +00:00
Enrico Tröger
96789091d0
Updated missing keybindings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@885 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 22:15:26 +00:00
Enrico Tröger
c4cbce1584
Added keyboard shortcut Ctrl+< to jump between matching braces( closes #1571283 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@884 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 22:01:26 +00:00
Enrico Tröger
adc721c522
Added simple parser for filetype Diff to create tags for each patched file in a diff file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@883 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 19:45:40 +00:00
Enrico Tröger
84421ddb32
Updated section about session files limit.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 16:42:46 +00:00
Enrico Tröger
71f1388d67
Removed hard limit of session files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@881 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 16:35:21 +00:00
Enrico Tröger
3564dffe56
Fixed several highlighting errors, added new styles: identifier2, important and id.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@880 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-10 17:28:12 +00:00
Enrico Tröger
679b0f5184
Got rid of goto usage and added auto completion for monitor construct for filetype Ferite.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@879 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-10 16:27:31 +00:00
Enrico Tröger
028fe98373
Finished new Undo system. Now some more actions can be undone and also redone.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@878 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-10 16:02:41 +00:00
Enrico Tröger
5815ae99a9
Applied patch from Armel Asselin (thanks). It adds SC_START_ACTION notification.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@877 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-10 14:27:58 +00:00
Enrico Tröger
c3972d6b2d
Connect only once to the "sci-notify" signal.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@876 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-10 13:52:22 +00:00
Nick Treleaven
93ba5ba45f
Removed the GEANY_MAX_OPEN_FILES limit, using a dynamic array.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-09 16:08:53 +00:00
Enrico Tröger
76f60f7a03
Made string "Permissions" in the file property dialog translatable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-09 13:50:23 +00:00
Enrico Tröger
ac2a9ed1e4
Added additional header files for compatibility with FreeBSD.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@873 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-08 21:43:54 +00:00
Enrico Tröger
b2c6eeab4b
Added some new keywords for filetype Ferite.
...
Added auto completion for iferr construct for filetype Ferite.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@872 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-08 15:52:31 +00:00