3292 Commits

Author SHA1 Message Date
Nick Treleaven
bf3b46bc26 Update for POSIX-regexes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4743 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 17:03:03 +00:00
Nick Treleaven
b8e2b623b4 Implement POSIX-regex Replace All (could be more efficient but
seems OK for now).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4741 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 13:45:14 +00:00
Nick Treleaven
17ad8ba1b8 Move search_replace_range() to search.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 13:28:04 +00:00
Nick Treleaven
361b128d81 Refactor document_replace_range() with search_replace_range().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4739 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 13:23:32 +00:00
Nick Treleaven
c8bac32a8a Implement POSIX-regex Find All.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4738 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-08 12:27:31 +00:00
Enrico Tröger
f72f6381df Add and use convenience function ui_is_keyval_enter_or_return() and add it to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4737 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 19:33:15 +00:00
Enrico Tröger
c5e50e2930 After opening files, focus the editor widget (based on a patch by Can Koy, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4735 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 18:43:31 +00:00
Enrico Tröger
37b67fb9f5 Properly show/hide the mesages window when using the View menu item (closes #2961282).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:57:45 +00:00
Enrico Tröger
f07cd20405 Focus the editor widget after hiding the sidebar when it had the input focus (patch by Can Koy, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:44:14 +00:00
Enrico Tröger
74f0afa5dc When editing non-existent config files using the Tools->Configuration Files menu, explicitly set the real_path to avoid presenting the Save As dialog when saving the file (patch by Tony Rick, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4732 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:37:00 +00:00
Enrico Tröger
2ec40e1a01 Fix setting the icon for some dialogs if the parent itself is also a dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4731 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:28:13 +00:00
Enrico Tröger
80a1d3965d Correctly set the parent widget for the keybinding overwrite confirmation dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4730 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:13:54 +00:00
Enrico Tröger
26ea57b714 Improve PHP parser to parse also the argument lists of PHP functions (patch by Can Koy, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 16:50:20 +00:00
Enrico Tröger
0865b45ed9 Fix broken 'Save' action in 'Resave missing file' dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 15:41:25 +00:00
Enrico Tröger
25ec844cfa Fix duplicate mnemonics on 'resave missing file' dialog, also move the question from the secondary to the main text to be more compatible with the Gnome HIG.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 15:32:34 +00:00
Enrico Tröger
08f201b118 Fix crashes when using Save As with no open files (closes #2964406).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4726 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 11:08:19 +00:00
Enrico Tröger
4edb42870d Fix wrong default response for the Debug Messages dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4725 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 10:37:35 +00:00
Enrico Tröger
49dff98485 Add preference for virtual spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 10:36:27 +00:00
Frank Lanitz
1d3c6d2f0f Add Asturian translation. Thanks to Marcos Costales
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4721 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-05 14:52:10 +00:00
Nick Treleaven
f96c3d1a00 Move new regex code to search.c: search_find_next(),
search_replace_target().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4720 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-02 13:21:41 +00:00
Nick Treleaven
3927eb059b Fix not replacing escapes within a backreference match.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4718 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-01 18:28:57 +00:00
Nick Treleaven
e669410ad1 Fix regex search for '\\'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4717 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-01 18:16:28 +00:00
Nick Treleaven
0f45597b02 Make regex search imply replacing escaped chars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4716 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-01 17:07:56 +00:00
Enrico Tröger
b78451ab1c Fix wrongly auto-detected multiline comments (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4715 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 15:05:47 +00:00
Enrico Tröger
6afacd50b9 Make Space on the compiler and messages widgets not focus the editor widget while Enter does (patch by Can Koy, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4713 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 14:57:06 +00:00
Enrico Tröger
32797c0ebd Make Space on the symbol and document list not focus the editor widget while Enter does (closes #2919444, patch by Can Koy, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 14:30:27 +00:00
Dominic Hopf
573b8d6c10 Fix the ChangeLog (sorry, again :( )
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 13:12:48 +00:00
Dominic Hopf
d1cdc2a345 fix keyboard accelerators in debug messages window
(Thanks Can Koy!)

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4709 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 13:06:05 +00:00
Enrico Tröger
f7c739923c Backport R lexer from Scintilla CVS to fix case sensitive keywords (Scintilla bug #2956543).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 12:56:19 +00:00
Frank Lanitz
40b658e54b Show number of lines of current document inside statusbar. Thanks to Can Koy for providing the patch.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4707 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 01:04:19 +00:00
Nick Treleaven
6c1a52d58c Implement regex backreference replacement for \0 (whole match) and
groups \1 to \9.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4706 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-26 16:08:34 +00:00
Nick Treleaven
d4dd143357 Implement single POSIX regex replacement - escape replacements are
done with utils_str_replace_escape().
Warning: regex backreference replacement is still to do.
Make utils_str_replace_escape() accept unnecessary escapes (e.g.
'\e' goes to 'e').



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4705 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-25 18:30:43 +00:00
Nick Treleaven
463100341f Make Find dialog Next button use GNU/system regex instead of
Scintilla engine.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4704 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-24 15:27:12 +00:00
Nick Treleaven
28ef172585 forgot changelog, oops
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4701 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-24 15:17:53 +00:00
Enrico Tröger
39c12b0aff Update keywords for the R language (patch by Jon Senior, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-22 22:29:20 +00:00
Dominic Hopf
9c9cf3ce67 fix ChangeLog format (sorry!)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4691 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 22:53:02 +00:00
Dominic Hopf
185a1685ac fix the instruction how to insert unicode characters
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4690 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 22:45:21 +00:00
Enrico Tröger
d65b205df7 Update primary keywords for the R language (patch by Jon Senior, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 18:09:16 +00:00
Enrico Tröger
6826240858 Add keybindings to switch to the sidebar's Document and Symbol list as well as to the Message Window's current tab (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4686 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 18:06:42 +00:00
Enrico Tröger
db6c8bcaa0 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 14:54:53 +00:00
Enrico Tröger
5c1d191b4c Replace tabs by spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 13:30:31 +00:00
Enrico Tröger
48ca569fea Minor fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4683 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 13:29:46 +00:00
Enrico Tröger
152cc820bb Replace tabs by spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4682 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 13:23:55 +00:00
Enrico Tröger
e249a1a809 Fix ChangeLog format
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4681 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 13:22:29 +00:00
Enrico Tröger
16399b3c45 Minor fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4680 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 13:21:39 +00:00
Dominic Hopf
ce1f704f6a correct the keyword list for javascript (thanks to Jonas!)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-20 14:19:50 +00:00
Enrico Tröger
3ead608bec New release: Geany 0.18.1 "Balfour".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-14 13:01:06 +00:00
Enrico Tröger
21f7989c37 Strip trailing spaces after reflowing a paragraph, patch by Dominik Wagenfuehr, thanks (closes #2945497).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4662 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-13 16:30:09 +00:00
Enrico Tröger
d79d5ea18c Add special cases for handling the Select All keybinding (Ctrl-A) in the toolbar search and goto line text entries (closes #2948040).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-13 16:13:00 +00:00
Enrico Tröger
ec1d69c630 Fix possible endless loop when trying to detect the encoding of non-text files (patch by Alexey Antipov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4654 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-07 18:37:25 +00:00