2221 Commits

Author SHA1 Message Date
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
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
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
a8a0002950 Edit 'About Geany' text to be more concise.
A few minor fixes.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 17:01:38 +00:00
Nick Treleaven
771d40cadd Update feature list in About Geany section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 16:14:51 +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
86a7cb2ec9 Fix wrong parameter for "project-close" signal.
(Merged from split-window-plugin branch).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2952 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-16 15:42:27 +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
e6c807c25b Use SCI_STYLEGET(FONT|SIZE) instead of parsing editor_font.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2947 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-15 16:53:31 +00:00
Nick Treleaven
ddfb591f0b s/auto detect/auto-detect.
Minor formatting fixes.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-15 13:03:05 +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
Frank Lanitz
75eb504c04 Fixing a little encoding issue in GPL text
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2942 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-14 18:13:14 +00:00
Nick Treleaven
a0493aa678 Make menu document-sensitive.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-12 14:12:15 +00:00
Nick Treleaven
0d9f0ea3df Set pane splitter halfway.
Copy cursor position from original editor.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2939 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-11 16:26:34 +00:00
Nick Treleaven
a933787a44 Fix wrong parameter for "project-close" signal.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2938 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-11 15:30:36 +00:00
Nick Treleaven
0bf9414532 Unsplit when the source document is closed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2937 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-11 15:06:14 +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
Nick Treleaven
906ec0e73b Move menu items to a submenu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2935 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-10 14:49:16 +00:00
Nick Treleaven
850a558f9c Add Unsplit command.
Clean up menus and split window when unloading plugin.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2934 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-10 14:29:16 +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
55a40710ab Remove bashisms.
Add support for passing asterisk wildcards to missing-mnemonics.sh.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2928 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-08 14:27:22 +00:00
Enrico Tröger
cc3ea8f437 Update feature list.
Small updates of outdated information.
Remove 'Supported Systems' sub section.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2927 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-08 14:26:20 +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
89ac2e8766 Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2925 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-08 14:24:03 +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
Frank Lanitz
6de8a4d237 Little typgraphic update to use minus insted of hyphen inside man page
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2923 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-07 18:21:47 +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