Nick Treleaven
943f07d07a
Add dialog for switching to last used tab, which disappears when
...
releasing the modifier key. (Useful once MRU switching is
implemented).
Connect window key-press-event in keybindings.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-02 13:37:40 +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
Enrico Tröger
bd628b9ddd
Avoid unnecessary critical warnings when setting tooltips for the symbol list with non-UTF-8 files ( closes #2473376 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-29 10:41:04 +00:00
Nick Treleaven
640053e598
Add ui_hookup_widget() macro to the API.
...
Make saving Stash string settings NULL-safe.
Move fif_extra_options search setting code to search.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 17:25:09 +00:00
Nick Treleaven
ad6626fc0d
Use G_STRFUNC instead of G_GNUC_FUNCTION, which doesn't work for modern compilers.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 16:20:52 +00:00
Nick Treleaven
8af824aee4
Fix creating a new configuration directory (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 13:40:26 +00:00
Nick Treleaven
0f575ea2b7
Don't forget active plugins after disabling plugin support.
...
Use Stash for plugin-related prefs.
Add geany_object "save-settings" signal (for core only).
Add stash_group_add_string_vector().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 13:21:35 +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
Nick Treleaven
0cce7c8bf4
Remove unnecessary include.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-25 13:38:06 +00:00
Nick Treleaven
e455f5967c
Add comment note about why we use a GArray rather than having users
...
declare a static array.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 18:18:14 +00:00
Nick Treleaven
c56f0c450b
Add stash_group_add_combo_box_entry(), stash_group_add_entry().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3419 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 17:13:37 +00:00
Nick Treleaven
6a2f565931
Rename GeanyPrefEntry::type -> setting_type for clarity.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 16:14:48 +00:00
Nick Treleaven
df5b4d85d9
Remove remaining PrefEntry code, use Stash instead.
...
Add stash_group_add_spin_button_integer(),
stash_group_add_combo_box().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 16:03:16 +00:00
Nick Treleaven
e1cc154601
Use helper function add_widget_pref() for GUI prefs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 13:01:50 +00:00
Nick Treleaven
26fc571dcd
Rename stash_group_load() -> stash_group_load_from_key_file().
...
Rename stash_group_save() -> stash_group_save_to_key_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 12:50:19 +00:00
Enrico Tröger
6c60580989
Add new filetypes CMake and NSIS.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 20:31:09 +00:00
Enrico Tröger
adcd00f875
Avoid compiler warning.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3413 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 20:09:29 +00:00
Enrico Tröger
cc7b058653
Only stat() files after saving for the timestamp when file_prefs.disk_check_timeout is set (to greater 0).
...
Call realpath() on files only when opening or changing the filename but not on every save.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 20:09:08 +00:00
Nick Treleaven
0709fcf00f
Allow Find Usage for selections even when the cursor is not at a
...
word character.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3407 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 17:15:52 +00:00
Nick Treleaven
331c28e6a7
Show Structs separately from Typedefs / Enums for the C symbol list.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3406 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 16:49:37 +00:00
Nick Treleaven
32f0c26b4a
Use plurals for HTML symbol list parent items.
...
Fix Fortran Types showing as Interfaces in the symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3405 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 16:28:14 +00:00
Nick Treleaven
8f3a03baed
Prevent GLib warning for g_strstrip().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3404 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 16:10:54 +00:00
Enrico Tröger
9e25c43487
Move implementation of lookup_widget() into ui_lookup_widget().
...
Change uses of lookup_widget() to ui_lookup_widget().
Remove now unneeded support.c.
Use GLib gettext macros in support.h instead of own ones.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3402 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 21:21:53 +00:00
Enrico Tröger
aceb1aa703
Remove remaining uses of doc->editor and use GeanyEditor directly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3401 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 19:23:32 +00:00
Enrico Tröger
12846c0998
Remove dead code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3400 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 19:22:36 +00:00
Enrico Tröger
a9c02f5cf1
Fix too ambitious auto tag closing in HTML files inside embedded scripting languages.
...
Complete HTML styles in is_comment_style() and is_string_style().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 17:46:41 +00:00
Nick Treleaven
46389fb650
On quitting, sort list of active plugins by plugin name.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3398 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 17:28:11 +00:00
Enrico Tröger
120e758840
When allowing non-local locations in the File Open dialog, we should do this in the File Save dialog as well.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3396 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-17 16:28:36 +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
Enrico Tröger
5db30d1067
Change comment character to '!' for Fortran 90 ( closes #2438423 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-17 16:01:09 +00:00
Enrico Tröger
ae35f40e6e
Make Ctrl-click working again to create rectangular selections when no braces and valid definitions are below the cursor (to whose would be jumped then).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3392 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-17 16:00:41 +00:00
Enrico Tröger
44b7d27b50
Add "editor-notify" to the plugin API.
...
This signal is emitted whenever something in an editor widget changes, e.g. a character was typed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3391 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-17 16:00:18 +00:00
Enrico Tröger
1fbdedbbff
Fix broken session file support on Windows (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3389 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-17 15:58:59 +00:00
Nick Treleaven
4b000e09ae
Move %ws and %newline% replacement into snippets-only code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3387 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 16:27:17 +00:00
Nick Treleaven
604fb1c627
Set Find in Files directory entry to project base path or current
...
working directory if the current file has no path.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3386 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:38:10 +00:00
Nick Treleaven
9fd3fd612c
Fix replacing %ws% and %newline% in snippets (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:16:33 +00:00
Nick Treleaven
8de6b131c9
Remember Find in Files mode at startup.
...
Add configuration_add_pref_group(), with separate array for GUI
prefs.
Move search pref group to search.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3383 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:01:47 +00:00
Enrico Tröger
9d84753cdf
Remove checks for the executable when executing a file.
...
The executed interpreter or the shell should handle file not found error and print appropriate messages.
This makes it a bit more flexible, e.g. allowing to use gcj for Java files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:21:19 +00:00
Enrico Tröger
8f7c80a15a
Use wrapper instead of SCI_BRACEMATCH.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:20:53 +00:00
Enrico Tröger
860fd1a842
Replace the 'else if's by a switch contruct.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:20:04 +00:00
Enrico Tröger
ff8664150b
Improve auto-closing of braces, brackets and quotes (patch by Guillaume de Rorthais, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:19:44 +00:00
Nick Treleaven
8a8c90f3ca
Use wrappers instead of SCI_LINEFROMPOSITION, SCI_BRACEMATCH.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 16:30:54 +00:00
Nick Treleaven
f4fd1ea2ca
Use Stash radio button prefs instead of RadioPrefEntry.
...
Add stash_group_add_radio_buttons().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 13:02:29 +00:00
Nick Treleaven
6300da581f
Add comment for editor_read_word_stem().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-12 13:32:13 +00:00
Enrico Tröger
c8a5db5f6b
Update comment about using different configuration directories with multiple instance support on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3371 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 19:05:17 +00:00
Nick Treleaven
7aa181f2e2
Make snippets only complete for the word stem to the left of the
...
cursor (#2390597 ).
Make snippets complete even when text is to the right of the
cursor and the hidden pref is not set, unless the snippet
completion key is space.
Fix possible memory leak when reading current word.
Add editor_read_word_stem().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 18:54:35 +00:00
Enrico Tröger
caa6e43a43
Oops, sorry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3369 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:49:27 +00:00
Enrico Tröger
6de08d45d2
Typo
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3368 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:47:13 +00:00
Enrico Tröger
bfdfc25327
Fix Windows build.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:46:13 +00:00