2717 Commits

Author SHA1 Message Date
Enrico Tröger
9a54f5f7b1 Fix broken 'builtin' Run command for HTML files on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3969 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 18:49:31 +00:00
Enrico Tröger
c5176a7da5 Quote the uri before passing it to the browser when opening a website (closes #2818635).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 18:45:22 +00:00
Nick Treleaven
28dad7a899 Remove filetypes_foreach_named().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 15:14:38 +00:00
Nick Treleaven
c4513eecaf Add geanyplugin.h single include for plugin API; update all core
plugins to use it.
Add sci_set_font() to API.
Update plugin howto.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 15:06:20 +00:00
Nick Treleaven
99641558bb Add documents_foreach() API macro that skips invalid docs.
Make filetypes[], documents[] part of the API again.
Add GEANY() macro for sharing geany symbols between API and core.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 13:05:51 +00:00
Nick Treleaven
4edd25c857 Use hyphen for auto-feature terms.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 11:25:07 +00:00
Nick Treleaven
a3da300b67 Make Mark highlighting brighter.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 11:11:50 +00:00
Nick Treleaven
c07e7af183 Allow autocompletion in Perl double-quoted strings.
Don't autocomplete in Perl single-quoted strings (closes #2821061).
Don't autocomplete in Perl q() strings.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 11:04:52 +00:00
Nick Treleaven
10b519d786 Properly fix wrong brace highlighting of non-brace character.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 10:32:32 +00:00
Nick Treleaven
dbb805a06c Improve wrong brace highlighting of non-brace character.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 16:29:43 +00:00
Nick Treleaven
093bb17b67 Reload filetypes.common after saving it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 12:38:32 +00:00
Nick Treleaven
ce0600b09d Forgot to commit.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3956 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 12:25:35 +00:00
Nick Treleaven
746a8d5834 Show relative paths in diff filename tags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3951 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 15:57:12 +00:00
Nick Treleaven
8c7f40f3f9 Add 'Mark All' keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 15:17:27 +00:00
Nick Treleaven
bb7a91f43e Delay highlighting matching braces by 100ms, which speeds up
scrolling with the arrow keys.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3948 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 14:03:16 +00:00
Enrico Tröger
2eed73e620 Fix setting keyword list 'classes' for Haxe (pointed out by Andreas Mokros, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 15:25:26 +00:00
Nick Treleaven
70ff740e72 Support 'tab indents, space aligns' style for auto-indentation
(closes #2789109).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3945 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 14:20:22 +00:00
Nick Treleaven
87e8f51e36 Add warning when printing and editor font is not monospaced.
Fix using GtkMessageType instead of gint param for
dialogs_show_msgbox*().
Add missing G_GNUC_PRINTF macro check to API dialog funcs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 13:51:37 +00:00
Nick Treleaven
979585dbb6 If autocompletion is already visible when forcing completion, show
document word completion instead of tag completion.
Docs: Minor edits of related prefs items.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 11:54:14 +00:00
Nick Treleaven
67ae2b4931 Add 'Drop rest of word on completion' pref.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3942 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 11:18:45 +00:00
Enrico Tröger
a613590d91 Add the new 'Autocomplete all words in document' pref to the docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3938 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:38:55 +00:00
Enrico Tröger
cb8cc25610 Add style 'marker_mark' and change style 'marker_search' to define the style used for marked search results.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:22:28 +00:00
Enrico Tröger
443ee99e7e Add style 'line_height' to increase the line height.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3935 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:21:45 +00:00
Enrico Tröger
7067b84a09 Rework the GIO based file monitoring code.
Now it is used only to indicate a possible change of the file, the real check if the file has been changed is performed by stat().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3933 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:20:17 +00:00
Nick Treleaven
1063c6ebdf Highlight D WYSIWYG backtick strings and r"strings" (closes
#1895745).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3931 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 15:39:07 +00:00
Nick Treleaven
ab002c80f2 Show autocompletion icons for tag symbols - for now only tags with
an arglist have the 'function/method' icon, all others have the
'variable' icon.
Note: XPMs were created from the PNGs with the ImageMagick 'convert'
program.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3930 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 14:51:25 +00:00
Nick Treleaven
d772abe98d Fix limiting number of word completion entries too much.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3928 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 12:35:54 +00:00
Nick Treleaven
d2595b5e96 Add 'Autocomplete all words in document' pref.
Use 'autocompletion' in dialog and docs, not 'auto completion'.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3927 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 12:29:20 +00:00
Nick Treleaven
6a3795abd6 Fix using project name for document items that start with the
project base path but don't match it e.g. ".../geany-plugins"
instead of ".../geany" when project name is 'geany'.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3926 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-07 12:46:45 +00:00
Nick Treleaven
415b3eb4f0 Use stock Select All icon now we have >= GTK 2.8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3923 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-07 12:19:02 +00:00
Nick Treleaven
9d8863f79e Fix removing underscores in translated string using no_underscore()
macro.
Set a tooltip for the Split Window plugin's Show Current tool button.
Add utils_strdupa() macro.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3922 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-07 11:57:50 +00:00
Enrico Tröger
3f3478533d Make the plugin manager dialog a bit bigger.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 10:47:47 +00:00
Enrico Tröger
5167dee88b Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3918 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:44:20 +00:00
Enrico Tröger
a87d5b9794 Fix warnings and possible crashes in the toolbar editor when the list of displayed toolbar items is empty.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:22:49 +00:00
Enrico Tröger
1ae19dfaa2 Properly close the toolbar editor on delete-events.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:22:24 +00:00
Enrico Tröger
6334ebbd0c Add second argument to the 'line_wrap_indent' styling setting to control the new Scintilla indentation mode for wrapped lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:21:44 +00:00
Enrico Tröger
259639f3ee Use the new Scintilla struct names prefixed with 'Sci_'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:20:28 +00:00
Enrico Tröger
aba1691372 Update Scintilla to version 1.79.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3911 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:19:36 +00:00
Enrico Tröger
1dfbd05268 Remove unnecessary enums.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3910 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:18:01 +00:00
Enrico Tröger
496d100b13 Fix wrong parsing of complex expressions in the Lua parser.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3909 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:17:32 +00:00
Enrico Tröger
1766302cd3 Fix warnings when the toolbar does not contain the Run button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 09:17:12 +00:00
Enrico Tröger
f091581c20 Fix wrong default values for the 'Show Calltip' keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3907 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-30 18:32:03 +00:00
Enrico Tröger
36217a3e1a Fix a typo (closes #2813624).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-29 19:51:41 +00:00
Enrico Tröger
baef23dc2c Make the Scintilla keybindings 'Delete to end of line' and 'Go to end of display line' configurable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3905 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-29 19:46:49 +00:00
Enrico Tröger
89a37d011c Fix a small memory leak.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-29 19:46:24 +00:00
Enrico Tröger
226d43b812 Fix duplicate "context_action_cmd" key.
Use different icons for "Methods" and "Procedures" in the symbol list for Tcl files.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-29 19:46:04 +00:00
Enrico Tröger
355f8ef2b5 Improve parsing of Tcl files (parsing new Tcl8.6 style classes, methods and namespaces).
Patch by Witek Mozga, thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-28 10:42:34 +00:00
Enrico Tröger
f5295573f9 Add a button in the preferences dialog and an item for the toolbar popup menu to run the toolbar editor dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3899 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-25 17:29:37 +00:00
Enrico Tröger
060fc00929 Remove ui_toolbar.xml Configuration Files menu item.
Add a real toolbar editor dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-25 17:21:45 +00:00
Nick Treleaven
60efb960e9 Beep when trying to activate the '...' autocompletion item.
Limit (forced) document word completion to
autocompletion_max_entries.
Beep if no completions are shown when forcing autocompletion.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3897 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-25 15:57:11 +00:00