270 Commits

Author SHA1 Message Date
Nick Treleaven
637d80945d Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-28 11:33:11 +00:00
Nick Treleaven
f44d794388 Share a single Format submenu for menubar Edit and popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 18:10:39 +00:00
Nick Treleaven
1ca381c0a2 Change editor popup Commands submenu to start as child of menubar Edit
menu, as this is more usual e.g. for keybindings initialization.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 17:47:23 +00:00
Nick Treleaven
90a166151c Add Edit->Commands submenu which is shared with the editor popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 17:27:24 +00:00
Nick Treleaven
3615272ec1 Add some useful commands to editor popup menu under "Commands"
submenu (thanks to Lex).
Move 'Duplicate line or selection' from Format -> Commands submenu.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 13:40:34 +00:00
Nick Treleaven
091bfac4ac Add sidebar position interface pref.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-23 16:18:05 +00:00
Nick Treleaven
5944520301 Don't expand hard tab width alignment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4349 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-21 11:49:48 +00:00
Nick Treleaven
d9a5d81356 Move Tools configuration items to top of menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4314 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 13:51:43 +00:00
Enrico Tröger
541d7689ff Apply set default encoding for existing files only if the files are non-Unicode (patch by Alexey Antipov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4294 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-11 10:51:12 +00:00
Nick Treleaven
02fabf16c2 Only use one 'New with template' submenu - reparent as needed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4279 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 14:40:42 +00:00
Nick Treleaven
683e09aae5 Update syntax highlighting after changing the 'Invert syntax
highlighting colors' pref, instead of requiring a restart.
Remove filetypes.common invert_all option - use 'Invert syntax
highlighting colors' pref instead (closes #2854525).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 11:53:08 +00:00
Lex Trotman
9164392983 Merge with trunk
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-17 04:55:35 +00:00
Lex Trotman
3bc23327f5 Fix many warnings, remove make cmd preference
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-17 00:23:38 +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
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
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
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
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
ab88bb8270 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3691 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-06 16:01:15 +00:00
Enrico Tröger
9a0c567918 Add "Recent Projects" menu to the Project menu (#2728630, patch by Elias Pschernig, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 14:14:29 +00:00
Enrico Tröger
560af59610 Add an option to allow appending the toolbar to the main menu bar to save some vertical space.
Allow setting toolbar icon size to very small (menu icon size).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-29 16:15:35 +00:00
Enrico Tröger
a70a679898 Add an option to set an additional plugin lookup path.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3626 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 10:02:29 +00:00
Enrico Tröger
fbbe778eeb Fix punctuation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3621 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-05 13:03:51 +00:00
Enrico Tröger
93b0278a52 Disable the default tab bar menu for the main notebook widget and use a custom menu instead which lists all open files as usual plus 'Close Other Documents' and 'Close All' menu items.
Remove GeanyDocumentPrivate::tabmenu_label.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3615 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-02 20:34:31 +00:00
Enrico Tröger
8effc35042 Fix mnemonic for the Edit->Preferences menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3602 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-25 23:29:34 +00:00
Enrico Tröger
59079283f2 Add 'Send Selection to Terminal' command to the Edit->Format menu (initial patch by David Gleich, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3601 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-25 23:28:01 +00:00
Nick Treleaven
1c4acab84f Split Prefs dialog General tab into sub-notebook with Startup and
Miscellaneous tabs. Merge Search tab into Miscellaneous tab.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 13:54:05 +00:00
Nick Treleaven
f62363e6eb Use tree for Documents sidebar, grouped by path.
Remove Documents show full path pref.
Use enum for documents tree store column ids.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3488 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-19 13:12:45 +00:00
Enrico Tröger
c67618f89a Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-15 19:44:18 +00:00
Enrico Tröger
ffebb43c8e Remove tooltips from menu items.
Don't use full stops in tooltips for short sentences.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-15 19:15:41 +00:00
Enrico Tröger
9d627214f1 Add GUI pref to invert all colours for syntax highlighting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3468 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-14 19:19:08 +00:00
Nick Treleaven
9962e8abb8 Fix not switching to 2nd last used document when the last used
document has been closed (#1945162).
- Code changes:
Move geany_object extern to geany.h.
Remove CallbacksData struct.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3438 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 12:54:13 +00:00
Enrico Tröger
89e411cef1 Use a GeanyWrapLabel for the project indentation settings warning text in the prefs dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-29 10:43:04 +00:00
Nick Treleaven
1a7f04c8da Show warning label on Preferences dialog Editor tab when a project
is open.
Move Indentation frame to a separate tab.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-27 13:20:42 +00:00
Nick Treleaven
f0d2f92e65 Add Project Indentation prefs, which override the Editor
Preferences dialog options. For new projects, these default to the
editor indent prefs.
- Plugins:
For compatibility with this change, use editor_get_indent_prefs().
- Code changes:
The Project Properties dialog is now created by Glade, but (for
now) the existing options are added manually.
Add GeanyProjectPrivate project field.
Add stash_group_set_use_defaults().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-27 12:55:04 +00:00
Enrico Tröger
afa4255e51 Re-add can_focus flag to the notebook widgets in the preferences dialog to make keyboard navigation easier (closes #2417200).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3395 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-17 16:17:11 +00:00
Nick Treleaven
89fce6dd26 Add an interface pref for whether to hide additional widgets when
double-clicking on document notebook tabs (off by default).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3359 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 16:29:54 +00:00
Nick Treleaven
f0d4bcee11 Don't expand Prefs dialog Editor->Completions tab frames.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3351 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 13:35:16 +00:00
Enrico Tröger
7c6ff4d5bb Add Line number and Markers margin settings to the prefs dialog.
Add View->Editor submenu and group there the Line numbers, Markers margin, Show white space, Show line endings and Show indentation guides settings.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3340 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-07 19:12:08 +00:00
Enrico Tröger
ae9e166786 Remove on_go_to_line1_activate() and directly use on_go_to_line_activate() instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-06 17:48:36 +00:00
Enrico Tröger
8ed9710f48 Rewrite of the whole toolbar code. Now it is based on GtkActions and all elements can be added/removed/reordered using a simple XML file.
Add GeanyMenubuttonAction and GeanyEntryAction as GtkAction subclasses to have menu buttons and text entries in the toolbar.
Change the Goto line toolbar item back to a plain text entry again.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-06 11:10:06 +00:00
Enrico Tröger
4ba92e0257 Don't mark labels of invisible menu items as translatable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3320 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-04 20:28:40 +00:00
Enrico Tröger
ac72607ade Add auto-closing of braces, brackets and quotes (patch by Guillaume de Rorthais, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3319 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-04 20:19:20 +00:00
Enrico Tröger
d3ee6f48ca Add toolbar buttons for Cut, Copy, Paste and Delete (#2161750).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3147 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 20:55:55 +00:00
Enrico Tröger
c946d4ef91 Replace Goto line text entry field in the toolbar with a spin button.
Remove dialogs_show_goto_line(), use the more generic dialogs_show_input_numeric() instead.
Increase limit of the maximum line number from 99999 to 100000000.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3146 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 20:55:06 +00:00
Nick Treleaven
65768ef184 Show the tools menu separator if there are any items below it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3094 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-15 11:59:32 +00:00
Enrico Tröger
cb1de8b8cf Reorder Help menu items (swap 'Keyboard Shortcuts' and 'Website').
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3065 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-10 16:43:15 +00:00
Enrico Tröger
4ec8d37075 Enable interactive search for the keybindings tree view in the prefs dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3045 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:36:08 +00:00
Enrico Tröger
737c7a6d76 Add an option to store the project file of new projects inside the project base directory.
Doc: Add descriptions for the Search tab in the preferences dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 15:09:33 +00:00
Enrico Tröger
22cde627fe Revert previous notebook focus changes as this disables the tab scroll arrows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 15:17:00 +00:00