2066 Commits

Author SHA1 Message Date
Enrico Tröger
113a85382b Mention Jay in the list of contributors.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:08:52 +00:00
Enrico Tröger
f40580edee Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:06:02 +00:00
Enrico Tröger
a6ce9b8a6d Replace the usage of the old Scintilla indicator API by the new modern API and remove old hacks (patch by Jason Oster, thanks).
Add new sci_indic_clear() function to the plugin API.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:05:27 +00:00
Enrico Tröger
5f51987732 Display SVN revision number in version information if available.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2965 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:03:52 +00:00
Enrico Tröger
ab3c9a4f3d API changes:
Rename sci_can_copy() into sci_has_selection().
Rename sci_find_bracematch() into sci_find_matching_brace().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:02:55 +00:00
Enrico Tröger
0391754995 Break lines at 100 characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:01:09 +00:00
Enrico Tröger
46d790cdeb Add missing 'directive' style to filetype CSS (patch from Jason Oster, #2114697, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:00:37 +00:00
Nick Treleaven
d625394615 Apply patch (with minor changes) from Jason Oster to improve showing
brace indent guides on empty lines when appropriate (thanks,
#2105982).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 12:36:04 +00:00
Nick Treleaven
a01abd937d Cancel autocompletion on Undo/Redo (based on a patch by Jason Oster,
thanks; #2102715).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 12:12:49 +00:00
Nick Treleaven
34f54710dd Merge split-window-plugin branch.
Add Split Window plugin (should work OK for viewing and basic text
editing; most other features are not implemented yet).
Add editor_create_widget() to the API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-16 16:06:47 +00:00
Nick Treleaven
03f0700c23 Add plugin signal "document-close", sent just before a document is
closed.
(Merged from split-window-plugin branch).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-16 15:47:26 +00:00
Nick Treleaven
c403ddd56c Fix Doxygen 1.5.4 undocumented parameter warnings.
Improve dox for sciwrappers.c.
Correct sci_grap_focus() misspelling.
(Merged from split-window-plugin branch).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2951 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-16 15:37:50 +00:00
Nick Treleaven
186e366348 Add editor_create_widget() to the API; remove editor_create(),
editor_destroy().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2950 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-16 15:21:46 +00:00
Nick Treleaven
363de46002 Fix Doxygen 1.5.4 undocumented parameter warnings.
Improve dox for sciwrappers.c.
Correct sci_grap_focus() misspelling.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-16 12:21:14 +00:00
Nick Treleaven
a7b211d66f Apply patch from Jason Oster to highlight matching brace indent
guides (thanks, #2104099).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2945 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-15 12:49:51 +00:00
Nick Treleaven
89ac3b59a4 Show ellipsis (...) item when there are too many symbol names for
autocompletion.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-15 12:37:24 +00:00
Frank Lanitz
1bee06614b Adding of Turkish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-14 19:36:11 +00:00
Nick Treleaven
5c8259be75 Add newline at end of file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2940 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-12 11:37:02 +00:00
Nick Treleaven
a0fc129a49 Add plugin signal "document-close", sent just before a document is
closed.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-11 15:03:58 +00:00
Enrico Tröger
82df104eec When checking for starting auto completion always use the style of the previous character and remove possible error indicator styles which caused wrong checking (should fix #2058005).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2933 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-10 11:30:34 +00:00
Enrico Tröger
d860305049 Add missing HTML attribute 'xml:lang'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2932 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-10 11:28:33 +00:00
Enrico Tröger
c161b24a68 Update the debug messages automatically in the debug messages window if it is open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2931 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-10 11:24:47 +00:00
Enrico Tröger
b747234117 Add ui_get_toolbar_insert_position() for plugins to get a position to insert new toolbar items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2930 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-08 14:28:59 +00:00
Enrico Tröger
9290e0bf65 Add '-' (dash) to the wordchars when using 'open selected filename'.
Please open a bug report if this will break any filenames.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2926 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-08 14:25:00 +00:00
Enrico Tröger
ab7a522ca9 Rename all toolbar widgets for consistent names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2924 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-08 14:22:39 +00:00
Enrico Tröger
fdd6ce4f49 Partial update of the German translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2922 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 14:50:26 +00:00
Enrico Tröger
c33bb2204a Fix ambiguous tooltip of new 'Stop scroll at last line' editor pref.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2921 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 14:49:22 +00:00
Enrico Tröger
f95b23233c Mark the VTE as clean when restarting it to make Geany able to execute commands in it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2920 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 11:31:27 +00:00
Enrico Tröger
266cbed6ff Add 'Stop scroll at last line' editor pref (patch by Timothy Boronczyk, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2918 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 11:18:06 +00:00
Enrico Tröger
f101e95aab New website address: www.geany.org.
Merge README.I18N with latest from the wiki.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2917 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 11:15:16 +00:00
Enrico Tröger
b82c2ee714 Set 'can_focus' property on some checkboxes in the prefs dialog which were missing it.
Enable 'focus_on_click' property on most checkboxes in the prefs dialog to ease keyboard navigation.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 11:11:33 +00:00
Nick Treleaven
6f60b4bc2c Add 'Max. symbol name suggestions' autocompletion pref.
Edit some autocompletion pref strings.
Remove some trailing commas in array initializers (oops).
Move GEANY_TOGGLE_MARK, GEANY_MAX_AUTOCOMPLETE_WORDS to keyfile.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-29 17:00:02 +00:00
Nick Treleaven
83c756f7b5 Fix global tags loaded debug message, display total tags count.
Add comment to warn about adding tags files vs. downloading
separately.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2911 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-28 16:59:20 +00:00
Nick Treleaven
0371bb7853 Change hidden pref scroll_stop_at_last_line to TRUE (#2030914).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2910 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 16:41:02 +00:00
Nick Treleaven
1e79093f2c Add GeanyFiletypeGroupID enum and GeanyFiletype::group field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2909 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 16:16:50 +00:00
Nick Treleaven
6ce421f141 Add OpenGL Shader Language (GLSL) filetype (patch from Colomban
Wendling, thanks; closes #2060961).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 12:44:54 +00:00
Nick Treleaven
2ad140a1fd Use pointer in init_builtin_filetypes() instead of repeating
filetypes[GEANY_FILETYPES_X]->... on each line.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2907 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 16:30:25 +00:00
Nick Treleaven
9f8f2c7b28 Add Split Window plugin (work-in-progress).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 15:58:07 +00:00
Nick Treleaven
a2fbc3a949 Rename HighlightingStyle to GeanyLexerStyle.
Add dox for highlighting_get_style(), GeanyLexerStyle, mentioning
SCI_STYLEGETFORE.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 12:43:46 +00:00
Nick Treleaven
346967c112 Add assert statements to check that the StyleSet styling arrays are
not exceeded.
(Also make highlighting_get_style() work with all filetypes, but
probably we should remove this from the API; plugins could just use
the SCI_STYLEGET* functions instead).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 09:48:18 +00:00
Nick Treleaven
d43cd0ee2a Add editor_destroy() to dispose of a GeanyEditor struct (in future
we may want to do more than just free it).
Fix editor.h dox description to be more informative for the API
(and move dox from editor.h to editor.c).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2901 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-25 15:44:51 +00:00
Nick Treleaven
8126ee2098 Detect 'Tabs and Spaces' indent mode on finding one or more hard
tabs before a soft tab at the start of several lines, and also when
the first indent symbol count is not mainly tabs or mainly spaces.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-19 14:55:56 +00:00
Nick Treleaven
e05b225632 Don't warn about a missing file on disk more than once (otherwise
somtimes it's too difficult to close the file before getting the
prompt).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2899 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-19 11:45:07 +00:00
Nick Treleaven
137325eb18 Don't disable 'Detect from file' indent type pref when 'Tabs and
Spaces' is selected.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-19 11:20:09 +00:00
Nick Treleaven
45880b0d7d Fix not using auto-completion in strings and comments (patch by
Jason Oster, thanks; fixes #2057979).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2897 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-19 11:15:15 +00:00
Nick Treleaven
fb82e51d64 Support detecting 'Tabs and Spaces' indent mode when opening a file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2894 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-18 15:58:36 +00:00
Enrico Tröger
22fe388155 Fix compiler warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-17 14:20:30 +00:00
Nick Treleaven
57ff84b183 Make Ctrl-click on a word perform Go to Tag Definition (this
shouldn't conflict with column editing as this uses
Ctrl-Shift-click).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-14 16:39:51 +00:00
Nick Treleaven
16d8dad107 Rename api_version GEANY_API_VERSION.
Rename abi_version GEANY_ABI_VERSION.
Use enums for each of these so they can be used to initialize a
global variable, and add dox.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-14 15:50:40 +00:00
Nick Treleaven
a25c8ec38b Don't look up "scroll_arrow_hlength" and "scroll_arrow_vlength"
GtkWidget properties on GTK < 2.10.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-14 15:48:11 +00:00