2081 Commits

Author SHA1 Message Date
Nick Treleaven
e16bb53705 Remove ParseData::dir argument as it's not necessary for parsing;
instead, use function make_absolute().
Refactor msgwin_parse_compiler_error_line().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 11:37:20 +00:00
Nick Treleaven
bce7d185b9 Rename get_indent() read_indent().
Fix possible overflow in auto_table().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-22 15:29:25 +00:00
Nick Treleaven
3828682705 Fix HTML table autocompletion when the indent type is 'Tabs &
Spaces' (#2118289).
Add some useful functions count_indent_size(),
string_append_indent_width().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-22 11:57:14 +00:00
Nick Treleaven
a00dc77177 Don't disable the auto-indent document pref when switching back to a
document with auto-indent turned off.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2981 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-22 11:12:54 +00:00
Enrico Tröger
a5fadbad40 Fix broken indentation of automatic HTML table tag completion (part of #2118289).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-21 16:44:30 +00:00
Enrico Tröger
437fafd46e Move document_apply_update_prefs() in editor.c.
Refactor get_indent_guides_from_lexer() from sciwrappers.c in editor_set_indentation_guides().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2979 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-21 16:43:45 +00:00
Nick Treleaven
43d8e21362 Add GeanyFiletypePrivate instead of using inheritance for non-public
fields (this was unnecessary and meant using ugly casts).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-19 17:19:34 +00:00
Nick Treleaven
1bbb9ba3c7 Remove 2 unnecessary deprecated macros.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-19 16:45:07 +00:00
Nick Treleaven
c538b55903 Disable indent guides for the Diff filetype, as they can be
distracting as added/removed lines don't get them.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2975 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-19 16:30:04 +00:00
Enrico Tröger
7d5c2000a5 Handle error messages and warnings from the mcs (Mono) compiler like those from Pascal or Basic compilers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 16:09:51 +00:00
Enrico Tröger
bab0991c36 Rename the new indicator functions and add documentation comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2973 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 13:27:10 +00:00
Enrico Tröger
73e24fa13e Display also the style of the current position in the status bar when debug mode is enabled.
No need to make the debugging strings translatable in the status bar.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2972 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 13:25:13 +00:00
Nick Treleaven
5dde790601 Add 'Tab key indents' pref, which replaces hidden pref
'use_tab_to_indent'; it's now on by default.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 12:43:41 +00:00
Nick Treleaven
3036bbe067 Fix ScintillaFuncs::indic_clear() return type, and rename to
indicator_clear().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2970 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 11:47:48 +00:00
Nick Treleaven
2b4fe97620 Use wrap label for the first label in the plugin manager dialog.
Use scrolled window for plugin details text area to avoid resizing
dialog components if a plugin has a long description.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2969 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 11:41:27 +00:00
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