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
Enrico Tröger
3284ca94e3
Fixed a crash when auto completion or call tips are used if no filetype was set. Added some sanity checks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 20:43:04 +00:00
Enrico Tröger
3188cf2d56
Fixed broken auto completion for switch().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@488 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:17:57 +00:00
Enrico Tröger
01ace30125
Removed URL highlighting code(useless feature, never was enabled).
...
Set policy settings for the scolledwindow.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@476 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:43:56 +00:00
Enrico Tröger
3a435bf29e
Replaced 'blank' by 'include "..."'. Fixed a bug in utils_brace_match() which prevents correctly matching.
...
Made auto completion work only for the current filetype (i.e. it hides symbols from other filetypes).
Removed unneeded code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 14:36:35 +00:00
Nick Treleaven
f8c92268f7
Use correct current_word buffer for popup menu item keybindings; also use GEANY_MAX_WORD_LENGTH
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 20:21:19 +00:00
Nick Treleaven
8c510a56df
Fix empty white box glitch with tag autocompletion, also improves typing response efficiency
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-05 22:04:50 +00:00
Enrico Tröger
2d213b1f3e
Fixed bug in auto completion of constructs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-03 15:05:41 +00:00
Nick Treleaven
74b7f7dfbb
fix a segfault when commenting out lines with ctrl-d when no filetype is set
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-20 16:47:07 +00:00
Enrico Tröger
d5fb7376b7
fixed small bug in sci_cb_show_calltip
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@341 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 16:52:09 +00:00
Enrico Tröger
a1baf148c0
enabled autocompletion for all filetypes, removed mmap()-code, fixed memory leak
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@336 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-16 19:06:08 +00:00