965 Commits

Author SHA1 Message Date
Nick Treleaven
d6500e59ea Recognise *.xsl, *.xslt filenames for XML filetype.
Recognise 'GNUmakefile' filename for Make filetype.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 12:49:55 +00:00
Nick Treleaven
a20ce7ad45 Make filetype_extensions.conf generation only available with a debug
build of Geany.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 12:49:00 +00:00
Nick Treleaven
641109ece7 Fix pressing enter to search from the Find dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@965 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 11:26:31 +00:00
Nick Treleaven
7b1ca9594f Scroll matching selection to 1/3 of the view when searching.
Add sci_scroll_to_line(); remove sci_goto_line_scroll().
Show 'not found' message on status bar also when enter is pressed in
the search bar.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-03 15:09:13 +00:00
Nick Treleaven
5ac6b8393c Focus the current document after clicking on a tab.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-03 15:03:57 +00:00
Nick Treleaven
3810b56cc0 Don't set error indicators when clicking on an error message if the
document has been modified.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-03 12:21:12 +00:00
Enrico Tröger
a70b1ea728 Run set includes build dialogs for LaTeX files modally, too.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-02 23:22:34 +00:00
Nick Treleaven
6ff4464f9c Make all remaining 0xff0000 comment styles darker using a common
default comment style.
Add some other generic styles (used only by C-like filetypes for
now).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-02 15:32:27 +00:00
Enrico Tröger
cba9dff4f9 Fixed typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 17:53:54 +00:00
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
Nick Treleaven
2532555871 Update Save All state after Replace in Session.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@956 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:40:21 +00:00
Nick Treleaven
ab192d7336 Prevent end of line char showing for current function.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@955 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:39:52 +00:00
Nick Treleaven
93a492a225 Fix a segfault in on_new_line_added.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:18:26 +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
Nick Treleaven
1844a2d051 Fix sign comparison warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@947 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-30 11:49:35 +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
Enrico Tröger
7060b73854 Fixed wrong variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@942 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 01:25:47 +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
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