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
Nick Treleaven
dff3122273
Move current_word and clickpos to editor_info struct in sci_cb.c.
...
Move on_editor_button_press_event to sci_cb.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@789 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-04 15:57:46 +00:00
Nick Treleaven
4c33cc29a1
Fixed C89 variable declaration and two sign comparison warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@780 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-02 20:30:35 +00:00
Enrico Tröger
b1b4a4e157
Split filetype PHP/HTML into PHP and HTML.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-01 17:07:49 +00:00
Enrico Tröger
2b3dad1e35
Added auto completion for LaTeX command "begin".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@772 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-29 16:11:55 +00:00
Enrico Tröger
e6e2f9020b
Stop immediately (un)commenting when the comment open string is empty.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@762 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-24 17:58:04 +00:00
Nick Treleaven
0bd427bd05
Remove filetypes.h and Scintilla includes from geany.h; Add VALID_DOC_IDX macro
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 20:39:59 +00:00
Enrico Tröger
d79e82f633
Moved prototype for geany_debug() to main.h.
...
Moved declaration of document struct to document.h.
Keep selection when commenting and uncommenting code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 15:47:18 +00:00
Enrico Tröger
3d4aea448b
Comment already commented lines, too (re-closes #1521714 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@745 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 14:46:04 +00:00
Nick Treleaven
725a2b7de0
Return to showing calltips after successful autocompletion; Use separate functions for html and tag autocompletion
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 21:00:43 +00:00
Enrico Tröger
57f0d45e9c
Improved HTML "<table>" auto completion to use the indentation better.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 15:53:18 +00:00
Enrico Tröger
711be1602f
Fixed "while" and "switch" autocompletion.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@716 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 09:01:47 +00:00
Nick Treleaven
dd7441c97c
Applied patch from Jens Granseuer to fix build with gcc 2.95 ( closes #1539502 )
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@713 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-14 10:35:57 +00:00
Enrico Tröger
e35efa87b3
Fixed segfault when try to (un)comment some code and no filetype is set(reported by John Gabriele).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@697 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 18:16:28 +00:00
Nick Treleaven
d55bc577f7
Use common on_new_line_added for CR or LF added
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@667 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-03 14:08:10 +00:00
Nick Treleaven
c6fa1febba
Wrap calltip and prevent it obscuring the current line
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@666 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-03 13:27:30 +00:00
Enrico Tröger
74e1d66c13
Added functionality to uncomment code and added keyboard shortcut Ctrl+Shift+D for this ( closes #1521714 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@653 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-31 09:39:33 +00:00
Enrico Tröger
4ec2bd121b
Added Unicode BOM detection.
...
Added "Reload as" menu item to force opening a file with a specified encoding(both were patches from Stefan Oltmanns).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@600 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 01:29:10 +00:00
Enrico Tröger
6a9c283cb9
Moved HTML entities from sci_cb.h to data/html_entities.tags.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 22:02:31 +00:00
Enrico Tröger
f21e623e27
Show auto completion list immediately when called by a keybinding.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@562 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-15 12:38:45 +00:00
Enrico Tröger
a1da3923df
Added return value and tag name to the calltip.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@550 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 17:44:42 +00:00
Enrico Tröger
3539ab4038
Autocompletion only works on blank lines.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@545 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-10 16:02:17 +00:00
Nick Treleaven
58efd38deb
Don't include SciLexer.h in geany.h
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-04 21:31:08 +00:00
Enrico Tröger
805bdf9675
Added function is_opening_brace().
...
Use is_opening_brace() for better handling of calltips.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@506 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 18:22:11 +00:00