4853 Commits

Author SHA1 Message Date
Enrico Tröger
fd6bf166af Automatically show and hide the sidebar notebook tabs according to the amount of visible pages (patch by Adrian Dimitrov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4839 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 20:42:34 +00:00
Enrico Tröger
60948e2ecc More fixes to prevent possible crashes by trying to free NULL pointers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4838 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 20:42:23 +00:00
Nick Treleaven
dae2aa8f44 Minor fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4837 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 12:33:41 +00:00
Nick Treleaven
53b6be1d64 Synchronize popup menu and plugin preferences dialog 'Show Hidden
Files' option (fixes #2989288).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4836 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 12:03:32 +00:00
Enrico Tröger
1464cdd44a Backport a fix from CTags SVN to prevent possible crashes by trying to free NULL pointers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:58 +00:00
Enrico Tröger
2f3aa8eb05 Use tm_source_file_set_tag_arglist() to set the argument list field of Python class tags to the argument list of their __init__() methods.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4834 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:49 +00:00
Enrico Tröger
1932d3fae9 Add tm_source_file_set_tag_arglist() to manually set the argument list of a tag.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4833 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:38 +00:00
Enrico Tröger
853356b305 Document missing argument
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4832 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:22 +00:00
Enrico Tröger
d84a498ff7 Fix Ctrl-Click on notebook tab if Numpad is active.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4831 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:12 +00:00
Enrico Tröger
7eacc365f9 Fix wrong parsing of function arguments when those contain nested brackets (as reported by Harold Aling).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4830 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 16:12:32 +00:00
Enrico Tröger
5b8d8c676c Small cleanup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 16:12:22 +00:00
Enrico Tröger
c000431626 Another attempt to fix the PHP parser regexp for parsing functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 16:12:13 +00:00
Enrico Tröger
b9d32c470c Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
Add missing documentation for 'Reset Zoom' keybinding.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 14:55:14 +00:00
Enrico Tröger
e5f287a4c5 Also parse numbered titles (closes #2984703).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4826 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 14:34:41 +00:00
Enrico Tröger
ccc57dbf7e Remove duplicate code from Txt2Tags parser.
Remove the title control characters ('=') when parsing titles.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 14:34:31 +00:00
Enrico Tröger
85cded2a87 Remove unused code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4824 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 14:34:19 +00:00
Dominic Hopf
0290d748fe Fix the mimetypes for PHP3, PHP4 and PHP5 in the desktopfile.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4823 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-15 18:12:25 +00:00
Frank Lanitz
09c80f7190 Update of Spanish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-15 16:30:50 +00:00
Enrico Tröger
2b5d711a11 Fix a too long line (oops).
Generate HTML documentation.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4821 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-12 17:48:17 +00:00
Enrico Tröger
7159c7c371 Add new command line option --list-documents to return a list of currently opened documents (closes #2979933).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:50 +00:00
Enrico Tröger
10bdf624db Instantly update the toolbar icon size and style when the corresponding global GTK settings are changed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:34 +00:00
Enrico Tröger
fef3ee8fc5 Shorten the toolbar popup menu, only provide items for Toolbar Preferences and to Hide the toolbar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4818 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:23 +00:00
Enrico Tröger
e28ca32274 Add option 'System Default' for toolbar icon style and size to use the GTK default value.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:08 +00:00
Frank Lanitz
0eb7bb5b57 Fix a typo on German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4816 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 13:45:26 +00:00
Frank Lanitz
a70c8a1513 Make HTMLchars plugin remember whether replacement of special characters was activated even after restart of Geany or reloading of plugin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-09 20:42:45 +00:00
Nick Treleaven
ebfa9d75c3 Improve API docs for editor_insert_text_block().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-09 12:46:55 +00:00
Nick Treleaven
14b69a3363 Update status bar after using Document->Set Line Endings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4813 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-09 12:30:28 +00:00
Nick Treleaven
559aebd1b2 Fix inserting snippets with an indent when using Mac CR line
endings.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4812 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-09 12:09:16 +00:00
Nick Treleaven
18a7e2ef08 Fix indenting a snippet when there is whitespace after the
snippet key name.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4811 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-08 16:26:36 +00:00
Nick Treleaven
664333b8c8 Fix mem leak with snippets_find_completion_by_name().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-08 15:56:08 +00:00
Nick Treleaven
e7d790d926 Refactor snippets_complete_constructs().
Remove an unnecessary TODO.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4809 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-08 13:54:08 +00:00
Enrico Tröger
17553f0ee6 Fix disabled compiler message tracking if using indicators to show build errors is disabled (closes #2982834).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4808 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-07 21:09:56 +00:00
Enrico Tröger
5c7197b6ee Improve wording.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4807 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-07 19:51:48 +00:00
Nick Treleaven
c14fc12dd0 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
and SCI_GETSELECTIONEND with rectangular selections. This fixes
replacing in a rectangular selection.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4806 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-07 16:58:33 +00:00
Nick Treleaven
94577bb251 Fix showing '...' item last instead of first for document word
completion.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4805 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-06 17:11:36 +00:00
Nick Treleaven
892f1bd931 Merge 0.18.1 branch changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4804 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-06 16:48:59 +00:00
Nick Treleaven
14e61b9bdb Re-detect any document filetypes set to None after reloading
filetype extensions (closes #2979661).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4803 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-06 16:37:27 +00:00
Enrico Tröger
26aeed1085 Add error_regex to parse error messages and warnings when performing syntax checks on Perl files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4802 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 22:03:49 +00:00
Enrico Tröger
d6b15be3df Adjust Perl Compile command to use the -c command line option to perform a syntax check instead of using the deprecated ByteCompile module.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4801 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 21:48:33 +00:00
Nick Treleaven
cf30b64029 Make Ctrl-click on any notebook tab switch to the last used
document.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 11:44:56 +00:00
Nick Treleaven
ab8d1b20d9 Add API docs for keybinding enums.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4799 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 11:42:31 +00:00
Nick Treleaven
9bb37bd6de Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
object for efficiency.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4798 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-01 15:57:19 +00:00
Nick Treleaven
dc3801eaf2 Remove multiline regex item (\n is now matched).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4797 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-01 15:55:13 +00:00
Nick Treleaven
5b9605a9d6 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
#2973764).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4796 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 16:36:36 +00:00
Nick Treleaven
a8bc1cb59a Add Stash widget functions to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 16:21:28 +00:00
Nick Treleaven
5f8f0b9f81 Use 'while' instead of 'goto'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4794 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 13:39:33 +00:00
Nick Treleaven
c266895832 Fix replacing '^' regex.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 11:53:37 +00:00
Nick Treleaven
f3e103c1e4 Beep if the user hasn't entered a class name on pressing OK.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 11:35:31 +00:00
Nick Treleaven
62f79f8f2a Don't generate FOO_GET_PRIVATE() macro because caching the result
in Foo::priv can be much more efficient.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 17:19:59 +00:00
Nick Treleaven
90acc27a7a Add Stash setting functions to API.
Remove unnecessary argument to stash_group_load_from_file().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 16:29:38 +00:00