2904 Commits

Author SHA1 Message Date
Lex Trotman
e345d180d2 Fixed load/save filetypes build config, implemented Build Commands Dialog clear button
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3947 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 09:00:37 +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
Lex Trotman
1726e57092 Configurable Build Menu Alpha
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 06:49:42 +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
Nick Treleaven
9fb2ff8815 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
Fix using locale encoding for default Save As dialog path.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3896 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-25 12:39:21 +00:00
Enrico Tröger
e44071db10 Add 'Build' toolbar button to the default layout.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3895 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-24 18:42:28 +00:00
Nick Treleaven
3070616e2d If forcing autocompletion and there's nothing else to show, complete
from words in the current document (using code from Enrico's
'AutoComplete Test' plugin).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3893 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-24 12:26:09 +00:00
Nick Treleaven
2808d3cd54 Add *.m4 for shell scripts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3892 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-23 12:53:18 +00:00
Nick Treleaven
e3edfba0cd Add debug message if plugin has not set a name for its keybinding
group.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-23 12:51:16 +00:00
Nick Treleaven
0a65df77d1 Make filetypes.common named styles use the "default" named style for
all missing style fields.
Set named styles to usually leave the background style empty. This
currently allows C-like filetypes to have a common default
background color.
Allow hard-coded colors to use -1 for the default color.
Add some highlighting style examples to the manual.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3890 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-22 15:26:44 +00:00
Enrico Tröger
13fe19aaa1 Create initial template files with proper platform-specific line ending characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3885 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-21 21:19:18 +00:00
Enrico Tröger
33fe023ac7 Invert the logic to determine which Save All we want to use:
Use the Tango like icon only for the Tango theme and the Gnome / GTK like icon for any other themes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3884 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 17:32:55 +00:00
Enrico Tröger
6d487596fc Generate the geany.pc file also on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3883 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 17:23:01 +00:00
Enrico Tröger
8d18b3c2fa Init stock items before creating the toolbar (closes #2809324).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:53:28 +00:00
Enrico Tröger
2b49ec41c4 Refactor the keybindings code for the preferences dialog, prefix all related functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3881 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:53:12 +00:00
Enrico Tröger
0a99835e76 Add a popup menu for the keybinding list in the preferences dialog to easily expand and collapse all groups.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3880 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:52:58 +00:00
Enrico Tröger
749cc9e2ce Fix LaTeX view commands on Windows (part of #2807688).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3879 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:52:44 +00:00