29 Commits

Author SHA1 Message Date
Nick Treleaven
779e1bca1f Scroll cursor to 50% of the view when reloading a file.
Rename sci_goto_pos() argument 'unfold'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1120 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 15:58:00 +00:00
Enrico Tröger
7dda3569ee Added option to toggle usage of Tab button for indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1087 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 21:52:48 +00:00
Enrico Tröger
d14742366c Fixed broken overtype update in the statusbar.
Removed unused field do_overwrite in document struct.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1067 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 15:30:44 +00:00
Nick Treleaven
e321c8e045 Added sci_get_first_visible_line().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-18 15:43:28 +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
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
Nick Treleaven
56ac6ddc17 Added sci_get_last_child(), sci_get_fold_parent().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 16:24:34 +00:00
Enrico Tröger
c4cbce1584 Added keyboard shortcut Ctrl+< to jump between matching braces(closes #1571283).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@884 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 22:01:26 +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
e87b87b015 Added colour values for indentation guides and white space.
Made hard coded SCI_AUTOCSETMAXHEIGHT changeable and added an option in the preferences dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@712 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 15:04:30 +00:00
Enrico Tröger
2a30d0abe3 Added some menu items to the edit menu for editing tasks.
Added keyboard shortcuts for increase/decrease of line indentation (closes #1521717).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:35:32 +00:00
Nick Treleaven
5a32e39810 Set PLAT_GTK before including ScintillaWidget.h
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@644 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-28 12:24:16 +00:00
Nick Treleaven
aff3e4f9dc Don't include geany.h
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@595 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-20 21:16:12 +00:00
Nick Treleaven
5f05ba684a Fix replacing the right length of text matched from a regex; Add support for back references when replacing with regex; Improve the speed of replace all/replace in selection; Don't lose the selection range after replacing in selection
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@581 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 14:09:01 +00:00
Nick Treleaven
60b7f681d7 Scroll to 1/4 of visible lines when going to a line number.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@531 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-03 12:58:58 +00:00
Enrico Tröger
7c9d6df76e Improved settings for the long line marker, it can now be easily disabled or set to highlight the background of too long lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 14:28:32 +00:00
Enrico Tröger
22ab86a40b Added "Select All" menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 13:42:53 +00:00
Nick Treleaven
0c9a5af71e Made Duplicate Line command duplicate selection if present
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 15:39:47 +00:00
Enrico Tröger
73384bb248 Implemented code for setting indicators while compiling.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-13 19:37:21 +00:00
Nick Treleaven
e62ba3d4c0 Use the character position under the mouse click for Go to definition/declaration and for overridden middle click text paste
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-07 19:25:20 +00:00
Nick Treleaven
e5f238c232 Scroll session files in view after all resizing of the Scintilla widget and rename sci_scroll_to_line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-30 18:03:19 +00:00
Enrico Tröger
175c877ec5 applied patch from Nick Treleaven which improved inserting of current selection in the find and replace dialogs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@240 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-10 21:40:20 +00:00
Enrico Tröger
6409cf8926 implemented folding
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-26 18:19:28 +00:00
Enrico Tröger
b1438f6623 added sci_assign_cmdkey()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@175 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-08 21:07:06 +00:00
Enrico Tröger
5deab2b6e5 improved usage of config.h and cleaned some header files from unneeded includes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@89 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-29 19:50:50 +00:00
Enrico Tröger
bd79cecd60 many changes, improving symbol list view, adding color settings for VTE
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@43 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-11 02:16:02 +00:00
Enrico Tröger
0a153e2eb3 added sci_get_current_line()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@37 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-09 01:34:32 +00:00
Enrico Tröger
23be99d5f1 added a convenience function to not have SSM() in the outside of sciwrappers.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@31 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-01 22:50:05 +00:00
Enrico Tröger
8cb2cf0997 Initial import
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-22 12:26:26 +00:00