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
Nick Treleaven
1d55dae69f
Add 'Tabs and Spaces' Document menu indent option.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-tab-width@2844 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-31 14:47:03 +00:00
Nick Treleaven
677b91f140
Replace 'Custom tab width' option with a 'Tabs & Spaces' Indent Type
...
radio option, and a Tab Width spin entry.
Replace GeanyIndentPrefs::use_tabs with GeanyIndentType field 'type'.
(Still won't compile ;-)).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-tab-width@2827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-28 11:52:19 +00:00
Enrico Tröger
ae2a6d84c8
Add a small border to all notebook pages in the preferences dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2826 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-27 18:42:21 +00:00
Enrico Tröger
866f8fbefe
Add a preference for the comment toggle mark string("~ " by default).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-27 18:41:07 +00:00
Nick Treleaven
c72767edb5
Add separate Width indent pref.
...
Add 'Custom tab width' checkbox pref.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-tab-width@2822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-25 15:10:53 +00:00
Nick Treleaven
edda704326
Revert editor popup menu Current Word submenu changes. See
...
http://lists.uvena.de/geany-devel/2008-July/000101.html .
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-25 11:23:52 +00:00
Nick Treleaven
8a30de5c67
Rename above pref 'Open new documents...'.
...
Group encodings prefs together in the Files tab.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2798 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-21 17:25:18 +00:00
Nick Treleaven
c5fb6b34bc
Add new Files pref 'Allow new documents from the command-line'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2796 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-21 14:28:46 +00:00
Nick Treleaven
9469f020c8
Move editor popup menu current word items to submenu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2787 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-17 17:17:51 +00:00
Nick Treleaven
3d24008b34
Add Find Document Usage popup menu command & keybinding.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2786 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-17 16:42:03 +00:00
Enrico Tröger
ccd2186f6a
Add preferences for year, date and datetime format of the corresponding template wildcards to make them more flexible.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2775 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-13 11:51:00 +00:00
Enrico Tröger
2febc39ed5
Add Tools menu item to reload configuration data (at the moment: templates, filetype extensions/configs and snippets).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2739 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-30 16:29:12 +00:00
Nick Treleaven
2ba80013bc
Add 'Close Other Documents' File menu command ( #1976724 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-27 17:30:14 +00:00
Nick Treleaven
52985a7d5a
Add Previous Message menu item.
...
Don't abbreviate Find Prev Selected.
Add ui_tree_view_find_previous().
Set Next Message menu item sensitivity when clicking on Search menu.
Thanks to Beau Barker (skip76) for an initial version of
ui_tree_view_find_previous() (see #1931125 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2725 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-25 17:38:31 +00:00
Nick Treleaven
a2cd1c4916
Move 2 search prefs to new Search tab of Preferences dialog.
...
Add new search pref: 'Use the current file's directory for Find in
Files' (#1930435 ).
Add PrefEntry struct which is used for an array containing widget
names to lookup; currently only used for 3 search-related
GtkToggleButton prefs.
Add SettingEntry struct which is used for an array containing keyfile
key and group information; currently only used for 3 search-related
gboolean settings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-25 11:56:58 +00:00
Nick Treleaven
3157ab8420
Split Preferences dialog Editor tab into a sub-notebook, with
...
Features, Completions and Display pages. This also reduces the
minimum height of the Preferences dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-24 14:32:54 +00:00
Enrico Tröger
9e98928ed1
Add "Replace spaces by tabs".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2709 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-19 14:34:53 +00:00
Enrico Tröger
ef00bc7ac7
Fix spelling of a few strings (mostly BE -> AE).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-17 16:18:41 +00:00
Enrico Tröger
392d1f863f
Add preferences for default end of line characters for new files ( closes #1895362 ) and to disable the automatic continuation of multi-line comments in C-like languages.
...
Enable multi-line continuation also for CSS files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2580 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-14 15:36:27 +00:00
Nick Treleaven
b8de9a9ec1
Rename old uses of line breaking -> line wrapping. This includes the
...
keyfile pref, so any users with this enabled will have to reset it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2564 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-09 14:19:01 +00:00
Nick Treleaven
d131023fe7
Add basic Line Breaking option in the Document menu. Line breaking
...
only works when typing characters past the line breaking column
number.
Add 'Line breaking column' editor pref.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2562 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-09 12:13:29 +00:00
Nick Treleaven
af67ff3cd5
Make disk check timeout configurable in the prefs dialog Files tab.
...
Make a value of zero disable disk checks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-23 16:53:40 +00:00
Enrico Tröger
f28829a653
Fix wrong tooltip for "Show Increase and Decrease Indentation buttons" in the preferences dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-20 11:51:28 +00:00
Nick Treleaven
dc6e52f41c
Make pressing escape in the sidebar focus the editor.
...
Group toolbar GtkEntry escape key checks into a common callback.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2488 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-16 11:34:34 +00:00
Enrico Tröger
336140e260
Make the notebook tabs in the messages window scrollable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2440 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-02 18:12:28 +00:00
Nick Treleaven
145b03bfff
Move Load Tags item from File to Tools menu.
...
Capitalize Page Setup item.
Add separator before Plugin Manager item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-01 12:01:49 +00:00
Nick Treleaven
099fd5f64b
Add 3 remaining mnemonics for popup menu, copy Insert include
...
mnemonic - even though these have conflicts, just let GTK toggle
between them.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-31 16:07:06 +00:00
Nick Treleaven
9dd3382343
Add missing mnemonics (except for 3 popup menu items, ran out of
...
letters).
Capitalize some menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-31 13:09:56 +00:00
Enrico Tröger
99a3d8e3c3
Add preference for not using the current word under the cursor when opening Find dialogs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2389 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-23 16:29:43 +00:00
Enrico Tröger
716400d4af
Fix modal dialog problems on Windows by not setting taskbar hint ( closes #1916994 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 18:26:22 +00:00
Enrico Tröger
27f877d4e3
Add missing accelerator for string "Toggle All Additional Widgets".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 13:24:06 +00:00
Nick Treleaven
51cfe5c125
Split up Prefs dialog General tab options into Startup, Shutdown
...
and Projects frames.
Rename 'Load and save session files...' option 'Use project-based
session files'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2180 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-18 17:36:08 +00:00
Enrico Tröger
5a1b51bc84
Add option for project session files support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2176 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 16:30:34 +00:00
Enrico Tröger
2ff8416767
Add GeanyWrapLabel (subclass of GtkLabel) to wrap text at any width.
...
Use GeanyWrapLabel in preferences dialog and plugin manager dialog to save a lot of space and improve layout of descriptive texts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2152 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 13:24:36 +00:00
Enrico Tröger
47c7c69214
Add Move document first/last keybindings (patch by Catalin Marinas, thank you).
...
Add toolbar items to increase/decrease indentation (closes #1850697 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2104 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-16 16:54:47 +00:00
Enrico Tröger
450595f6b8
Set treeview rules hint for several treeviews and remove manual setting the background colour of odd rows of the status and message treeviews ( closes #1848901 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2097 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-12 16:34:02 +00:00