1403 Commits

Author SHA1 Message Date
Enrico Tröger
00afcbcc86 Add special key wordchars to autocomplete.conf to let the user redefine used wordchars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 19:55:21 +00:00
Enrico Tröger
89b9682145 Fix minor compiler warning about shadowed variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 18:19:17 +00:00
Enrico Tröger
62d31d6c92 Add encoding related functions to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 18:03:28 +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
6da493990e Only connect vte_keypress() if enable_bash_keys pref is not set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1955 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 11:37:45 +00:00
Nick Treleaven
f0e2b35c0d Update plugin api_version for new indentation fields.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 12:55: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
7c78e6a4a0 Fix wrong callback signatures in Export plugin and make menu item document sensitive.
Add dialogs_show_save_as() to the plugin API.   


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1950 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-16 09:01:13 +00:00
Enrico Tröger
97def873e4 Oops ;-).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-16 08:58:43 +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
ebf639e243 Try to fix a bug with toggling of full path setting in the open files list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-15 14:14:56 +00:00
Enrico Tröger
db17d897b6 Add recent files also to GTK's recent files buffer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-13 10:41:38 +00:00
Enrico Tröger
16147c48fe Add menu accelerators to the custom date menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1942 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-13 09:35:34 +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
9ba61cdfef Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1939 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-10 16:27:47 +00:00
Enrico Tröger
4a0977c905 Add full file name as tooltip in the open files list (only for GTK 2.12 and above).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-09 12:26:44 +00:00
Enrico Tröger
7419f18f88 Fix wrong colouring of type keywords of tags from different filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1934 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-09 12:04:15 +00:00
Nick Treleaven
d34892629d Fix inserting spaces instead of tab when using 'Suppress construct
completion' and spaces are used for indentation.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1933 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-09 11:49:42 +00:00
Enrico Tröger
2eaa1d8dcf Fix wrong insert position of Insert Date function when using keyboard shortcut and place the cursor behind the inserted date.
Enable horizontal scrollbar for the Open Files list.       


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1932 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-08 12:10:03 +00:00
Nick Treleaven
9eb9a8facf Don't reset the VTE when pressing Ctrl-[CD] if bash keys are enabled,
because they are now sent to the VTE.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1929 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-03 11:25:28 +00:00
Nick Treleaven
84225249e6 Fix segfault when manually editing a keybinding and selecting another
item.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1928 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-03 11:21:08 +00:00
Nick Treleaven
5b6b03c058 Move and rename the bash shortcuts hidden preference - it's now in
geany.conf, [VTE] section, called 'enable_bash_keys'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1927 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-02 16:20:44 +00:00
Nick Treleaven
d910f01d0f Don't overwrite hidden prefs when quitting unless they are missing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1926 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-02 15:43:16 +00:00
Nick Treleaven
f6c3430623 Attempt to fix problem with tab close button size.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1925 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-02 14:23:11 +00:00
Enrico Tröger
960a535798 Fix scrolling bugs when searching text and the cursor is outside of the current visible area.
Unfold search result.
Also print version of Geany together with GTK/GLib version information.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1923 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-01 12:22:44 +00:00
Nick Treleaven
b8043b31a2 Use stock close image for notebook tab close buttons.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1922 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-01 11:46:19 +00:00
Nick Treleaven
0cfa26f513 Add Project Properties menu accelerator.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-28 16:32:28 +00:00
Nick Treleaven
b5e4604562 Add --no-preprocessing, -P option when generating tags files to
disable preprocessing of C/C++ source files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1917 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-28 11:48:55 +00:00
Nick Treleaven
0dd090e65e Also ignore Ctrl-L for VTE bash command.
Allow 'Switch to editor' command to override any bash commands.
Also disable the popup menu to avoid VTE bash conflicts.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1916 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-28 10:54:56 +00:00
Nick Treleaven
4ff90adf26 Fix displaying error indicators with Make after entering a
subdirectory.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-27 15:10:22 +00:00
Nick Treleaven
031ba827a5 Fix possible conflict of 'tmp' variable name in setptr macro.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-27 15:09:54 +00:00
Nick Treleaven
6e4fa68d94 Don't show file opened/saved/closed messages on the status bar.
Add temporary function msgwin_status_add_new() for v0.12 (to avoid
many code changes updating msgwin_status_add() before the release).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-27 11:39:21 +00:00
Enrico Tröger
86adc018ba Don't load invalid window geometry data from the config file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-27 11:29:54 +00:00
Nick Treleaven
14e661f9fd Add enable_vte_bash_keys keybindings.conf hidden pref in [Settings].
Refactor keybindings_init().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1911 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-27 11:13:59 +00:00
Nick Treleaven
05a8bf08a2 Make common bash Ctrl-[a-z] keyboard shortcuts work in the VTE.
(Not sure why Ctrl-Shift-[cv] copy/paste shortcuts still don't work).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-26 16:22:20 +00:00
Nick Treleaven
bcbe878024 Fix selecting text with Shift-{PageUp,PageDown} (closes #1801315).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-26 11:14:53 +00:00
Nick Treleaven
8d193436de Remove pos argument from sci_get_current_line(), because
sci_get_line_from_position() can be used instead and it's clearer.
Remove unused sci_get_line_end_styled() - it's also the same as
sci_get_line_from_position().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-25 16:44:33 +00:00
Nick Treleaven
db980f3f83 Add ui->set_statusbar() to the plugin API.
Make plugin function msgwin->status_add() not set the statusbar - but
ui->set_statusbar() can now be used to do both with the log argument.
After Geany 0.12 this is how the core versions of those functions
will work, so the status window can be set independently.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-25 16:21:35 +00:00
Nick Treleaven
852a4dbb50 Fix bug when using Navigate backwards after using the keyboard to
set the cursor position on the current word.
Add symbols_goto_tag().
Replace navqueue_append() with navqueue_goto_line().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-25 12:39:41 +00:00
Nick Treleaven
6b3b7fe55a Add msgwin_switch_tab(), msgwin_clear_tab() functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1899 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-24 16:07:44 +00:00
Nick Treleaven
5282ddbeb2 Fix bug with 'Delete lines' when cursor is at the start of a
multi-line selection.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-24 11:25:41 +00:00
Nick Treleaven
1c68618e6a Undo r1891 so that 'Delete lines' again includes the cursor line
even when at the start of a line - like Cut/Copy lines do.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1894 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-22 11:11:24 +00:00
Nick Treleaven
6e90725f5d Make 'Duplicate lines' work for whole lines when more than one line
has a selection.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1892 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-21 16:39:21 +00:00
Nick Treleaven
f38fbd5418 Make 'Delete lines' not include an extra line when whole lines are
selected.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-21 16:37:19 +00:00
Nick Treleaven
8fe569692f Save and restore the current notebook page when quitting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-18 16:04:22 +00:00
Nick Treleaven
601fb23da4 Add foreground colouring to messages items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-17 16:33:17 +00:00
Nick Treleaven
67c2afa93a Apply code from blackdog to parse Haxe typedef tags (thanks).
Show Haxe typedefs in the symbol list.
Add tag_type treeview iter.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1885 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-17 15:28:27 +00:00
Nick Treleaven
0f36471020 Apply patch from blackdog to add build_info and
msgwindow->compiler_add() to the plugin API (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1884 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-17 11:16:48 +00:00
Nick Treleaven
a7ce66e724 Apply patch from Christoph Berg to update main window icon and
About dialog icon (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1883 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-13 16:54:25 +00:00
Nick Treleaven
1b915dbef6 Make some keybinding titles use existing string capitalization.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-13 16:45:46 +00:00