Enrico Tröger
bae191b373
Probe different versions of libvte.so, not only libvte.so and libvte.so.4.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@984 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 00:07:49 +00:00
Nick Treleaven
ad74b0bc87
Fix a possible bug with g_file_test when opening files at startup.
...
Show warning message on status bar if some session files couldn't be
loaded, showing debug messages for each session file that fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-09 15:52:31 +00:00
Nick Treleaven
bd1137d9e9
Rename utils_strcmp() utils_str_equal() (to avoid return value
...
confusion with strcmp()).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 16:21:46 +00:00
Nick Treleaven
35d8a54ebd
Never show the sidebar if app->show_sidebar is false (prevents
...
showing Sidebar after setting Preferences, when user has chosen to
hide the Sidebar).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 11:57:20 +00:00
Nick Treleaven
67ce2f51b0
Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
...
static.
Move symbols_get_global_keywords() to get_global_typenames() in
highlighting.c.
Add symbols_find_tags_as_string(), symbols_get_tag_list(),
symbols_get_macro_list(), symbols_find_in_workspace() from various
tag-related existing code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 11:42:05 +00:00
Enrico Tröger
829f0e3696
Don't set width of file open dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@975 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 23:32:30 +00:00
Enrico Tröger
491288aec2
Added an option to draw an horizontal line above or below folded text.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 18:53:39 +00:00
Enrico Tröger
aecd641ce3
Fixed unintentional appearance of sidebar after it was hidden and the preferences dialog was closed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@973 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 13:33:50 +00:00
Nick Treleaven
20637b939b
Don't close any tabs when quitting until all unsaved changes have
...
been accounted for; switch to each unsaved file before showing the
unsaved dialog.
Remove limit of ~256 chars for session filenames.
Make dialogs_show_unsaved_file() fail if the Save As dialog was
cancelled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@972 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 11:24:22 +00:00
Enrico Tröger
6de433fe7b
Little code cleanup in brace_match().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-06 21:02:03 +00:00
Enrico Tröger
84fc71ef56
Added Java keywords true and false.
...
Converted "NULL" to lower case.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@970 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-06 20:56:18 +00:00
Enrico Tröger
c037341315
Fixed (hopefully) wrong indentation in some cases when inserting '}'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@969 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-05 21:20:22 +00:00
Enrico Tröger
dd47b2bf62
Applied patch from Bob Doan to do not set keywords for XML documents(thanks).
...
Made styleset_markup() static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 22:38:11 +00:00
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
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
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
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