Nick Treleaven
122dd396f3
Add Find keybinding (re-uses existing string).
...
Group search-related callbacks together.
Docs: Add table headings to group related keybindings together.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1881 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-13 16:40:19 +00:00
Nick Treleaven
07d6f819ca
Change scroll by line default keybindings to Alt-{Up, Down}.
...
Change Previous/Next Paragraph Scintilla commands to Ctrl-{Up, Down}.
Adding Shift extends selection by paragraph.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1880 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-13 12:38:14 +00:00
Nick Treleaven
6556066f24
Speed up Save All for C-like files by avoiding unnecessary
...
recolourising after user typenames have changed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1879 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-13 11:31:19 +00:00
Nick Treleaven
928e2f032e
Use G_N_ELEMENTS(arr) instead of sizeof(arr) / sizeof(arr[0]).
...
Correct prev_translators email address.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1878 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-12 16:25:19 +00:00
Nick Treleaven
a76adc4354
Make Toggle Case use the current word if there's no selection.
...
Make Toggle Case keep an existing selection.
Rename ui_widgets.popup_items to popup_copy_items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1876 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-12 16:01:23 +00:00
Nick Treleaven
001cc916b4
Allow autocompletion on a line with trailing whitespace.
...
Add auto_complete_whilst_editing hidden preference.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-12 12:08:07 +00:00
Nick Treleaven
ca970f61e4
Fix return type for document->open_files().
...
(Tidy up field name indentation).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1873 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-12 11:17:53 +00:00
Enrico Tröger
568e5987e8
HTML manual is called Manual.html on Windows, so open this file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1870 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-11 18:18:09 +00:00
Nick Treleaven
b7113bfa7a
Add reload_file() document function to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1869 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-11 16:05:03 +00:00
Nick Treleaven
274058eb7a
Neaten up the plugin API:
...
Make document_open_file() now wrap document_open_file_full(),
without the idx for reloading or pos arguments.
Replace str_replace() with string_replace_all() in the plugin API.
Add utils_string_replace_all(), taking a GString argument.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1868 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-11 15:21:11 +00:00
Enrico Tröger
73557807a8
Remove get_zoom from plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1867 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-10 18:25:03 +00:00
Enrico Tröger
ac7e6acee5
Change quotes in some error messages to be more consistent (thanks Frank).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1863 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-09 16:13:30 +00:00
Enrico Tröger
8917ec0717
Forgot to commit these changes in r1860. Sorry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-09 16:09:28 +00:00
Enrico Tröger
06833473ee
Improved error message if license text could not be found (thanks Frank).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1861 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-07 19:17:02 +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
acfedc1771
Add 'Move document left' and 'Move document right' keybindings.
...
Make fixed keybindings overridable.
Add fixed keybindings for switching to leftmost/rightmost document,
Ctrl-Shift-{PageUp,PageDown}.
Docs: Add 'Switching documents' keybindings section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1857 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-07 12:34:57 +00:00
Enrico Tröger
97b8092329
Remove unwanted debug message.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-05 19:46:22 +00:00
Enrico Tröger
db5f98e725
Store the index of a keybinding in the treeview store to fix problems getting the correct index when editing a cell of the treeview.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1855 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-05 19:40:46 +00:00
Enrico Tröger
7111acdc06
Make keybinding for scrolling by one line changeable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1854 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-05 18:55:51 +00:00
Enrico Tröger
bc3c9f62f4
Fix missing syntax colouring when saving new files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1853 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-05 18:38:42 +00:00
Nick Treleaven
e18b145ec7
Rewrite document_find_by_filename() to work when the filename
...
argument contains relative path elements or symlinks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1852 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-05 16:22:50 +00:00
Nick Treleaven
29b47c239c
Minor edit of keyboard shortcuts dialog text.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1851 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-04 15:39:17 +00:00
Enrico Tröger
7be0947ff1
Sort list of files to build on Windows. Add geanyobject.c to the list of files to build on Windows. Fix some warnings and build errors on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1850 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-03 18:19:27 +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
1887a20df4
Add text argument for document_new_file(), so that it's independent
...
from filetype templates.
Make File->New create a blank document, rather than using the None
filetype template.
Add None option for the 'New with Template' menu commands.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1848 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-03 16:09:53 +00:00
Nick Treleaven
cb333602fd
Set copy lines default KB to Ctrl-Shift-C.
...
Set cut lines default KB to Ctrl-Shift-X.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1847 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-03 12:17:58 +00:00
Nick Treleaven
d58addc900
Undo last commit, because it makes selecting text with the mouse
...
include all trailing lines with no wordchars on them.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1846 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-31 12:01:22 +00:00
Nick Treleaven
94dd025c04
Include \n\r newline chars in Scintilla whitespace chars.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1845 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-31 11:42:58 +00:00
Nick Treleaven
a4a871c945
Prevent calltip after typing '(' when in a comment or string.
...
Allow forced autocompletion in a comment or string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1844 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-30 15:11:33 +00:00
Nick Treleaven
04802a6a8c
Only focus the current document after switching pages if the open
...
files treeview currently has focus (otherwise focus commands can be
overridden, e.g. when pressing F4 during opening several files).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1843 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-30 14:24:26 +00:00
Nick Treleaven
641ca8e516
Fix Ctrl-Shift bindings not working when caps lock is on.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1842 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-30 14:07:49 +00:00
Nick Treleaven
34d587f5d8
Rename non-menu keybinding titles, e.g. Tags menu -> Tags commands.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1841 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-30 10:33:09 +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
fd161f582d
Add hidden editor preference 'use_gtk_word_boundaries'.
...
Add docs appendix 'Hidden preferences'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1834 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 15:45:54 +00:00
Nick Treleaven
1882e29768
Group settings in load_dialog_prefs() by dialog tab.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1833 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 15:10:13 +00:00
Enrico Tröger
501c01aeb4
Remove useless callback wrapper function.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1832 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 10:50:18 +00:00
Nick Treleaven
ccc27ac11b
Refactor configuration_load().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1830 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-27 16:54:15 +00:00
Nick Treleaven
8d2b262224
Group prefs in order for save_dialog_prefs().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-27 16:39:49 +00:00
Nick Treleaven
8e12775cb6
Clear PluginInfo fields in PLUGIN_INFO macro for future extensions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-27 16:29:28 +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
b401b698ea
Move file-related fields from EditorPrefs -> GeanyPrefs.
...
Rename line_breaking -> line_wrapping for EditorPrefs and document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1823 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 16:20:33 +00:00
Nick Treleaven
b7a32149e9
Refactor configuration_save() to group new struct settings together.
...
Move 'Enable plugin support' keyfile pref to the 'geany' group.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 15:44:07 +00:00
Nick Treleaven
ade8718241
Add pos description for document_open_file(), rewrite warning about opening multiple files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1821 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 12:06:59 +00:00
Nick Treleaven
225e404db5
Fix wrong // comment spacing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 11:48:37 +00:00
Nick Treleaven
719c2131cf
Fix wrong brace formatting.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 11:31:27 +00:00
Nick Treleaven
b234bf160a
Fix saving the wrong document when using Save All with unnamed
...
documents.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1818 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 11:19:26 +00:00
Enrico Tröger
7b14228f62
Fix invalid filetype setting when using Save All and files with filetype None (thanks to Omair Eshkenazi for reporting).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-23 17:59:22 +00:00