143 Commits

Author SHA1 Message Date
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
Enrico Tröger
de8caa6055 Remove obsolete SVNdiff plugin, use the VC Diff plugin.
Add option for amount of characters to trigger symbol completion.
Add document_find_by_filename to the plugin API.		


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-01 17:53:36 +00:00
Enrico Tröger
fabc1c9940 Improve usage of "Unfold all children" option and add some basic documentation for folding support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-29 17:52:24 +00:00
Enrico Tröger
62b45d6326 Enable Shift+click on a fold point to unfold all possibly folded children (same as the pref "Unfold all children of a fold point").
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-22 17:48:59 +00:00
Enrico Tröger
2b07283739 Add plugin manager dialog to select plugins to load at startup and to call a plugin configure dialog.
Add configure symbol for plugins which is called by Geany when a configure dialog for the plugin is requested, optionally.
Add author field to plugin info struct.
Add sample configure dialog to the demo plugin.
Fix cleanup code in filebrowser plugin to remove it completely when unloaded.			


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2060 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-20 18:15:46 +00:00
Enrico Tröger
fff66178da Add native GTK printing support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 14:04:27 +00:00
Enrico Tröger
4b43e762d0 Rename "Contruct autocompletion" to "Snippets".
Allow changing height of the symbol completion list even if automatic symbol is disabled, it still can be forced by keybinding.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-12 09:27:43 +00:00
Nick Treleaven
92a00f1f8e Add 'Strip Trailing Spaces' document menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 13:24:39 +00:00
Nick Treleaven
a54ddf4795 Added File Browser sidebar plugin.
Rename 'Open Files' sidebar tab 'Documents'.
Add keybindings->send_command() and tm->get_real_path() to the plugin
API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-22 12:42:19 +00:00
Nick Treleaven
5f688c6294 Apply patch from Catalin Marinas to add a 'newline strips trailing
spaces' pref (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1956 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 11:52:47 +00:00
Nick Treleaven
a2589f87fa Add Indent Type option in the Document menu.
Add 'Detect from file' Editor indentation pref.
Show TAB or SP for current document's indent type.
Minor editing of Document menu and editor Indentation prefs group.
Use GString for statusbar statistics.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 12:27:07 +00:00
Enrico Tröger
0dc540e053 Suppress selection changed signal when switching between open files and symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1948 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-16 08:54:54 +00:00
Enrico Tröger
1d9c244ad1 Add menu accelerators to the symbol and open files list popup menus.
Add option to display full path name in the open files list.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-13 09:28:26 +00:00
Enrico Tröger
d390522727 Remove convert to lower-/upper-case keybindings.
Add toggle case keybinding and change shortcut to Ctrl-Alt-U.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-07 19:01:55 +00:00
Nick Treleaven
34605af386 Replace 'Use tabs...' preference checkbox with Tabs, Spaces radio
buttons (should be a bit clearer).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1858 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-07 15:52:31 +00:00
Nick Treleaven
04dfeb19ba Move 'Insert #include' menu item below other insert menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1849 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-03 16:25:41 +00:00
Nick Treleaven
b73d1f2133 Change 'Goto' to 'Go to' everywhere.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1839 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-30 10:04:39 +00:00
Nick Treleaven
5bb7a8ecd2 Add 'Current chars' indentation mode, rename 'Advanced' indentation
to 'Match braces' (closes #1726880).
For 'Match braces' indentation, if a brace could not be matched,
fall back to 'Current chars' indentation.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1836 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-29 15:14:07 +00:00
Nick Treleaven
1c36ba9ae5 Add Prefs dialog 'Editor tabs' frame in Interface tab and group
related preferences.
Change some table spacing to multiples of 3.
Rename Misc., Behaviour -> Miscellaneous.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-27 16:10:19 +00:00
Enrico Tröger
edc0ceaad6 Add version to plugin info fields and two other fields for future use.
Add option to show/hide the small crosses on each file tab (closes #1757680).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1826 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-25 14:16:52 +00:00
Nick Treleaven
fc3a74e7f6 Add 'Enable plugin support' Prefs checkbox.
Minor edit of load VTE option text.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1805 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 15:20:38 +00:00
Enrico Tröger
64f13d4104 Add option to suppress messages in the status bar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1771 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-05 11:03:44 +00:00
Nick Treleaven
2e500fb403 Use AE spelling of 'color'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1753 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-27 11:56:50 +00:00
Nick Treleaven
109a7aee67 Convert 'Insert Special HTML Characters' tool into a plugin;
keybinding support will be added later.
Add plugin functions for inserting text into the current document.
Add plugin support for disabling a menu item when no documents are
open.
Destroy plugin_fields->menu_item on unloading if set by a plugin.
Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by
other modules, and to help detect unresolved symbols at loading time.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 15:41:08 +00:00
Nick Treleaven
fc9e92cf0f Make pressing escape focus the editor when using incremental search
or the Goto Line entries.
Add keybindings_cmd() to mimic a keybinding action.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 15:35:52 +00:00
Enrico Tröger
fb6b743358 Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 08:11:42 +00:00
Nick Treleaven
8743d2f994 Apply patch from Jeff Pohlmeyer to add a preference for whether to
use 'smart' home key behaviour (thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 15:44:13 +00:00
Nick Treleaven
2a809a5c42 Rearrange some of the Prefs dialog:
Add Indentation frame on Editor tab, with tab width setting.
Add Display tab for visual editor settings.
Move Files tab below Editor tab (not needed so often).
Add frame for toolbar page.
Change some spacing to multiples of 3 (Gnome HIG recommends multiples
of 6).
Minor reordering of some checkbox groups.
Add mnemonic for Keybindings 'Change' button.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1690 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 16:08:03 +00:00
Nick Treleaven
7dc4a314c0 Move Context Action command to Tools tab, group with Print command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 16:30:44 +00:00