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
Enrico Tröger
b62583b0fb
Remove can_focus flag from notebook widgets to avoid focused tab labels.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 16:49:36 +00:00
Enrico Tröger
b69b6cc71f
Set the page_size parameter of GtkAdjustments to 0 instead of 10 which is set by default by Glade. This prevents breakage of spin buttons with early versions of GTK 2.14.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2997 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 17:04:43 +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
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
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
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
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
137325eb18
Don't disable 'Detect from file' indent type pref when 'Tabs and
...
Spaces' is selected.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-19 11:20:09 +00:00
Enrico Tröger
459ba625ed
Move geany_debug() into log.c.
...
Use GLib log/print handlers to log messages/warnings into a string for later usage.
Add a debug messages window, accessible through the help menu to easily view debug messages/warnings.
This might replace the extra console window on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2876 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 18:16:35 +00:00
Nick Treleaven
6c6934d839
Change 'Tab width' label to 'Hard tab width' for clarity.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 16:57:40 +00:00
Nick Treleaven
309b853b57
Merge changes from the custom-tab-width branch ( closes #1662173 ).
...
Thanks to Joerg Desch for explaining how it needs to work.
Note: this breaks the plugin API for indentation editor_prefs.
Add separate Width indent pref (as well as the Tab Width pref).
Add 'Tabs & Spaces' Indent Type radio option pref.
Add 'Tabs and Spaces' Document menu indent option.
Note: Tabs & Spaces cannot be detected (yet) when opening files;
default file templates still only use tabs.
Set 'Detect from file' indent type setting insensitive when Tabs &
Spaces is set.
Don't change per-document auto-indent setting after changing default
auto-indentation type.
- API changes:
Add GeanyIndentPrefs struct from some GeanyEditorPrefs fields.
Replace GeanyIndentPrefs::use_tabs with GeanyIndentType field 'type'.
Add editor_get_indent_prefs() to the API, which should be used to
get the right settings for a document/editor instead of reading
any struct fields. This could also support project/filetype
indentation prefs quite easily.
- Core code changes:
Move toggle_prefs to a function toggle_items_foreach(), which takes
a PREF_DISPLAY or PREF_UPDATE argument. This means the PrefEntry
array can contain runtime fields, so can read pointer contents.
Add pref_item_callbacks array of functions to call;
toggle_items_foreach(), spin_items_foreach(), radio_items_foreach(),
combo_items_foreach().
Update keyfile.c to use foreach-style functions for SettingEntry
arrays, like the new PrefEntry code in prefs.c.
Add get_indent_size_after_line() to replace get_indent() for
clarity, and to fix Tabs & Spaces auto-indentation > basic.
Remove opening-brace indent code from get_indent() as it's now in
get_brace_indent().
Change editor_close_block() to use sci_get_line_indentation() for
clarity.
Make editor_close_block() static.
Add editor_init().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2863 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-07 16:36:06 +00:00
Nick Treleaven
51badbd829
Set 'Detect from file' indent type setting insensitive when Tabs &
...
Spaces is set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-tab-width@2859 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-07 11:49:06 +00:00