530 Commits

Author SHA1 Message Date
Enrico Tröger
d35759a648 Fixed wrong detection of some words.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:52:16 +00:00
Nick Treleaven
018f2cb89b Update Undo items when switching notebook pages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:40:55 +00:00
Enrico Tröger
643318c14e Changed keybinding for Print to Ctrl+C.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:03:41 +00:00
Enrico Tröger
b5ed2b144d Changed tooltip of checkbox "Close dialog" to be more descriptive.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@952 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 15:53:48 +00:00
Nick Treleaven
bf7dae9c6a Add Find Previous, Find All in File/Session buttons to the Find
dialog.
Move Find Usage code from on_find_usage1_activate to search.c.
Add ui_button_new_with_image(), ui_hbutton_box_copy_layout().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@951 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 15:26:41 +00:00
Nick Treleaven
e79dc052f1 Prevent possible invalid memory read.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@950 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 10:58:47 +00:00
Enrico Tröger
432e7d734f Removed "begin" section in symbol list and sort it at environment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-30 23:00:26 +00:00
Enrico Tröger
2a2ca4cd82 Add extra indentation for Python after a colon.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@948 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-30 12:58:58 +00:00
Enrico Tröger
ff5e5cca37 Fixed bug when setting colour of open files list entry on new, unnamed files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 14:44:04 +00:00
Enrico Tröger
1aa3a761ac Moved all treeview related callback functions from callbacks.c to msgwindow.c and treeviews.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@945 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 13:48:39 +00:00
Enrico Tröger
77a424a270 Colour also the open files list items according to their changed state.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 13:03:13 +00:00
Enrico Tröger
172558ea10 Added an Apply button to preferences dialog.
New setting to show/hide the Quit toolbar item.
New setting to show/hide notebook tabs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 01:28:58 +00:00
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
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
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
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
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
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
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
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
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
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
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