Enrico Tröger
74f7a679a8
Updated Scintilla to version 1.72.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1213 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-20 23:54:28 +00:00
Enrico Tröger
1268cbc39b
Enabled auto completion of constructs for filetype JavaScript.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:51:12 +00:00
Enrico Tröger
7b61ad934d
Updated copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:36:42 +00:00
Enrico Tröger
2b0740a5fa
Added sci_set_use_tabs().
...
Fixed mem leak in sci_cb_auto_forif().
Moved free_pointers() to utils.c.
Applied patch from Jeff Pohlmeyer to add an option for using spaces or tabulators when inserting some whitespace.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:09:17 +00:00
Enrico Tröger
b54b45ea42
Applied patch from Jeff Pohlmeyer to add an option for disabling DnD in the editor widget.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1182 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 20:50:36 +00:00
Enrico Tröger
f0d4e65311
Added new filetypes Javascript and Lua.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1181 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 20:16:09 +00:00
Nick Treleaven
f7b31cac95
Use '::' context separator for C also (so C/C++ share the same
...
syntax, and C++ .h headers use correct syntax).
Add symbols_get_context_separator() and use for calltips and the
symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1174 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-12 12:33:17 +00:00
Nick Treleaven
ccab52b62d
Fix commenting multiple lines (oops).
...
Set single undo action when toggling multiple lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1173 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-11 11:59:40 +00:00
Nick Treleaven
15fb502837
Prevent some possible buffer overflows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-09 16:53:27 +00:00
Enrico Tröger
b53385de1d
Removed multiline template because it makes not much sense, instead just comment three lines using the general comment functionality.
...
Removed special templates for Pascal and some other filetypes using "#" as comment char. The comment characters for fileheader and GPL templates are now added dynamically according to the current filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1160 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 15:03:53 +00:00
Nick Treleaven
0e75efdd3c
Parse pointers in function return type for C-like files.
...
Show scope in calltips.
Made tm_tag_destroy() static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-03 12:41:10 +00:00
Nick Treleaven
1650924026
Add calltip support for D constructors.
...
Add tm_workspace_find_scoped() (adapted from Anjuta 2.02
tm_workspace_find()).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1147 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-26 15:49:35 +00:00
Nick Treleaven
d5e934c3af
Only call SCI_BRACEMATCH once in sci_cb_highlight_braces().
...
Separate find_calltip() from sci_cb_show_calltip().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1144 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-24 12:07:35 +00:00
Nick Treleaven
055f70da67
Force a file changed check when attempting to open an already open
...
file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1119 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 13:04:18 +00:00
Nick Treleaven
7365ae3c9c
Colourise C enum, union and D/Java interface typenames.
...
Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a lexer
supports typename colouring.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-16 17:18:53 +00:00
Enrico Tröger
627e8f00ca
Moved html_entities array to symbols.c.
...
Fixed some checks for the new D lexer and improved detection of comments when auto completing or showing calltips.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 17:09:05 +00:00
Nick Treleaven
0c2f3d19fc
Fix setting project typenames for the new D lexer.
...
Add sci_cb_lexer_is_c_like() which returns TRUE for C++/D lexers.
Only recolourise C-like files when updating project typename
keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 12:52:52 +00:00
Nick Treleaven
665eec08f1
Only remove extra space indent after a multiline comment if the
...
indent contains one too many spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1099 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 11:57:48 +00:00
Nick Treleaven
507d6e0e9c
Fix adding a multiline comment character after pressing enter on the
...
last line of a multiline comment.
Remove multiline comment indent after pressing enter on last line.
Prevent invalid memory reads in auto_multiline().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1096 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-14 15:49:10 +00:00
Enrico Tröger
c051bc4014
Improved auto completion of multi line comments and support /+ +/ for D files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 18:13:22 +00:00
Enrico Tröger
37c230845a
Revert the last change to utils_str_equal() and use it again because g_str_equal() is not NULL-safe.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 16:09:45 +00:00
Enrico Tröger
c461da68f1
Removed utils_str_equal() and use g_str_equal() from GLib because it does exactly the same.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-06 20:44:32 +00:00
Enrico Tröger
f0044beb30
Don't insert extra indentation in Python files after a colon if the line is a comment.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-06 15:32:21 +00:00
Enrico Tröger
fb3b2e4f49
Fixed broken auto completion for LaTeX files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-04 16:09:57 +00:00
Enrico Tröger
80870ab68d
Made handle_xml() static.
...
Fixed wrong XML auto completion in PHP files when inserting '>', thanks to Bob Doan for reporting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-03 23:05:29 +00:00
Enrico Tröger
956e5ad179
Added new preference to unfold all children of a fold point if the fold point is unfolded.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-03 22:33:46 +00:00
Nick Treleaven
b2f191d37a
Fix sign comparison warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-17 12:19:31 +00:00
Enrico Tröger
99806172b2
Enabled drag and drop for the whole main window to be able to drop files even if no tabs are open.
...
Moved code for getting the file list to document_open_file_list().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 23:12:13 +00:00
Nick Treleaven
0c233f9b3b
Fix invalid memory read in sci_cb_get_indent().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 16:38:39 +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
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
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
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
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
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
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
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
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
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
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
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
Nick Treleaven
464e9b7d0b
Change sci_get_line to return a NULL terminated string.
...
Fix memory leak and possible invalid read in sci_cb_auto_latex().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@861 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-02 15:22:29 +00:00
Enrico Tröger
bb63808621
Fixed broken autocompletion for filetype PHP.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@838 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-27 12:48:13 +00:00
Enrico Tröger
c20171288d
Enabled socket code on Windows.
...
Re-enabled the gtk_window_present() call for Windows to pop up the main window.
Enabled notification if file on disk has changed under Windows, it seems to work (closes #1557689 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-26 16:29:44 +00:00
Enrico Tröger
cd1afef42b
Don't start autocompletion in strings and comments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-20 21:52:35 +00:00
Nick Treleaven
f180e9a863
Move all static strings from templates.h to templates.c.
...
Fix sign comparison warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-17 19:58:04 +00:00
Enrico Tröger
aff687fd33
Added comment toggle functionality to easily comment and uncomment a line with one shortcut (default Ctrl+B) ( closes #1552184 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@808 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-10 11:47:26 +00:00
Enrico Tröger
116728caae
Added own implementation of an Undo stack (not yet working).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-06 16:09:08 +00:00
Nick Treleaven
a63fc1e40e
Moved UI related utils from utils.c to ui_utils.c
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 14:24:47 +00:00