Nick Treleaven
becd45ef77
Add temporary fix for sci infinite loop in Document::GetColumn(int)
...
when current pos is beyond document end (can occur when removing
blocks of selected lines especially brace sections near end of
file).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-28 16:25:17 +00:00
Enrico Tröger
d829ba94fc
Some small updates.
...
Got rid of &app; entitity.
Extended description of encoding support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@940 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-28 14:58:48 +00:00
Nick Treleaven
6f96dfb108
Find last unmatched open bracket for Show Calltip so nested matched
...
brackets are ignored (except LaTeX).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@939 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-27 14:23:46 +00:00
Nick Treleaven
e0eb5289ff
Find last unmatched open bracket for Show Calltip so nested matched
...
brackets are ignored (except LaTeX).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@938 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-27 14:22:39 +00:00
Nick Treleaven
27894a58ab
Limit parse depth to 500 chars when parsing C-like function name.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@937 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-27 14:21:48 +00:00
Nick Treleaven
17bbfa3644
Add filetypes_get_conf_extension() and use in highlighting.c.
...
Fix a memory leak in load_keyfiles().
Group C-like default syntax in init_c_like_styleset().
Make C-like comment colour darker; make globalclass brighter to
distinguish it from word colour.
Make Java use same default syntax highlighting colours as C.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-27 11:30:23 +00:00
Nick Treleaven
2857094ec8
Only accept editing keybindings when the current Scintilla widget
...
has focus.
Group editing keybindings together in cb_func_edit.
Change keybinding callbacks to pass keybinding index as an argument.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@935 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-26 15:22:27 +00:00
Enrico Tröger
6146cc9399
Fixed typo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@934 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-25 19:25:35 +00:00
Enrico Tröger
07c61dc5cf
Fixed access before check ;-).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@933 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-25 19:23:19 +00:00
Nick Treleaven
82f1dca4aa
When replacing tabs by space, prevent the scroll position changing,
...
and fix a possible change of cursor position.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@932 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-25 17:03:24 +00:00
Enrico Tröger
60bb784493
Moved utils_convert_to_utf8() and utils_convert_to_utf8_from_charset() to encodings.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@931 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-25 14:48:07 +00:00
Enrico Tröger
e3f6f0a890
Added warning message dialog, united dialogs_show_info() and dialogs_show_error() to dialogs_show_msgbox().
...
Added warning message when opening files that cannot be handled correctly and set them to read-only mode.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@930 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-25 14:38:48 +00:00
Enrico Tröger
413f31f373
Removed unneeded macro GEANY_MAX_TAGS_COUNT.
...
Moved macro GEANY_USE_WIN32_DIALOG to geany.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@929 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 23:50:50 +00:00
Enrico Tröger
059aeca6bc
Updated version for Windows
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@928 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 19:46:46 +00:00
Enrico Tröger
a8925aa73a
Use GTK's file open dialog also under Windows to have the extended options.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@927 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 18:21:16 +00:00
Enrico Tröger
3e9cbc0e01
Fixed compiler warnings under Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@926 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 18:02:38 +00:00
Enrico Tröger
c08f1553d4
Added GEANY_DEBUG ifdef around the doc() function.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@925 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 16:29:17 +00:00
Nick Treleaven
3fec88a45e
Change Messages and Compiler window to go to line with a single
...
click instead of double click.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@924 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 16:23:25 +00:00
Nick Treleaven
efddba4053
Reorder Replace All buttons.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@923 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 16:15:29 +00:00
Nick Treleaven
4d42dbbe52
Fix setting document unchanged state when using Undo/Redo for
...
encoding or BOM changes.
Add sci_is_modified().
Added useful doc() function used only when debugging.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@922 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 13:41:34 +00:00
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