Enrico Tröger
5de4dc54e8
Fix wrongly created header guards when the class filenames contains dashes (patch by PCMan, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3838 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 15:09:04 +00:00
Enrico Tröger
459d9e2962
Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3837 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 14:00:08 +00:00
Nick Treleaven
e01537fe3e
Support toggling bold/italic when using a named style, e.g.:
...
commentdockeyword=commentdoc,bold,italic
Improve named style docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3836 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-03 15:42:01 +00:00
Nick Treleaven
94025e5f89
Only use ":::" context separator for Conf, ReST, not all Misc group.
...
(Minor edit of yesterday's changelog.)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-02 14:45:23 +00:00
Enrico Tröger
09f5851d79
Fix crashes when parsing the output of a compiler which reports errors on line 0.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3834 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 21:51:33 +00:00
Nick Treleaven
34a67a9269
Fix grouping functions/classes under a nested function.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3831 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 15:41:24 +00:00
Nick Treleaven
221b3fda3a
Fix grouping symbol list children when parent name has "." character
...
in for reStructuredText and Conf filetypes (and any in the Misc
group).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3830 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 15:21:55 +00:00
Nick Treleaven
fd2f43911d
Update docs for named styles in filetypes.* files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 14:37:53 +00:00
Nick Treleaven
f678ee105a
Support named styles also for filetypes.common [styling] entries.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 13:46:21 +00:00
Enrico Tröger
11cb3f9efe
Add 'Replace' toolbar button ( closes #2798225 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-30 14:09:55 +00:00
Enrico Tröger
5f54fba3a2
Adjust icon paths (patch by Dominic Hopf, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3826 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-30 13:48:33 +00:00
Nick Treleaven
9d0abef4ee
Implement named styles support for filetypes.* using a
...
filetypes.common [named_styles] section e.g.:
foo=0xc00000;0xffffff;false;true
bar=foo
These can be used in e.g. filetypes.c as:
comment=foo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-30 11:57:56 +00:00
Enrico Tröger
a073209940
Fix wrong sensitiveness of the Redo buttons ( closes #2797862 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-28 20:22:12 +00:00
Frank Lanitz
e82f8d512f
Add Luxembourgian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3821 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-28 19:45:23 +00:00
Enrico Tröger
89c442d38a
Properly terminate the resulting strings when reading the stdout and stderr of any spawned commands on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-27 18:34:39 +00:00
Enrico Tröger
538f2f5d25
On Windows, fallback to the literal build command line if searching for the command in the system path failed (related to #2795923 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3818 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-27 18:00:05 +00:00
Enrico Tröger
60797701e5
Remove quote_executable() as it is not used anymore.
...
When creating the geany_run_script.bat use the "%0" variable expansion and quote it for the "del" command (closes #2797172 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-27 17:21:51 +00:00
Enrico Tröger
8abccc9bea
Move the icons geany.png and geany.ico into the icons directory.
...
Add a 16x16 pixel Geany icon and the scalable SVG icon.
Drop the pixmaps directory.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3816 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-26 20:45:36 +00:00
Enrico Tröger
801d9f831b
Fix wrong initialisation of the default project path button callback in the preferences dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-26 19:49:18 +00:00
Nick Treleaven
2364b504fe
Improve MRU document switching so there are no duplicates in the
...
list and documents switched to whilst the dialog is open are
ignored. Also beep when cycling through to the first document in the
list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3811 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-22 14:50:34 +00:00
Enrico Tröger
c27b3a5caa
Fix broken 'Cancel' button in the Save As dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-21 19:19:12 +00:00
Nick Treleaven
5acdfaf4e0
Parse Python calltips.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3809 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-20 15:38:04 +00:00
Nick Treleaven
3b9840dafb
Show current document in bold in tab popup menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3808 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-20 15:01:04 +00:00
Nick Treleaven
9164411390
Fix multiline indent when selection covers text on the last line.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3807 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-20 14:42:55 +00:00
Enrico Tröger
b0b8c0c91c
Fix quoting the build command string on Windows ( closes #2791769 ). This broke when we made build commands run synchronously on Windows, now we don't need to special quote the commands anymore.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3806 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-19 21:06:04 +00:00
Enrico Tröger
cf531e4347
Make some locally only used functions static.
...
Fix wrong sanity check.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3805 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-19 20:17:37 +00:00
Enrico Tröger
bf179fa14d
Parse Python import statements to get symbol completion for the imported module names.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3804 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-19 20:17:21 +00:00
Nick Treleaven
9f7e908624
Drop rest of word to the right of cursor when autocompleting (do we
...
need a pref for this?).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3803 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-19 11:21:18 +00:00
Nick Treleaven
2edecade6b
Make indenting with the Tabs indent type preserve spaces on the line,
...
so it works for the 'tab indents, space aligns' formatting style.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3802 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-18 15:17:48 +00:00
Nick Treleaven
14479d1729
Update manual for MRU switching.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3801 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-18 15:01:21 +00:00
Nick Treleaven
2f31df28f7
Add sci_set_selection().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-18 14:51:37 +00:00
Enrico Tröger
08e83ce4e1
Backport change from CTags SVN to keep the parser more in sync:
...
Add support for Cython constructs to the Python parser.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3798 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-17 17:16:39 +00:00
Enrico Tröger
c0505685f2
Don't close the Save As dialog when saving the file didn't succeed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3797 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-17 17:16:24 +00:00
Enrico Tröger
f27180536a
Remember the additional Find in Files search flags at startup.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3796 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-17 15:46:09 +00:00
Enrico Tröger
7631a8487e
Fix missing symbols for variables when an equal sign is used in a comment on the same line as the variable declaration.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-17 15:45:54 +00:00
Frank Lanitz
1399439865
Added some more commands from unit.sty and moderncv.sty to LaTeX tags file
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-13 17:11:41 +00:00
Nick Treleaven
9af053536a
Implement Most-Recently-Used document switching when pressing
...
Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-13 15:37:28 +00:00
Nick Treleaven
9b0d78ec2e
Remember scribble cursor position.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-13 15:21:54 +00:00
Nick Treleaven
9facea2642
Merge unstable branch:
...
Add reStructuredText scope information for tags (for symbol list
grouping).
Read custom system global tags files from $prefix/share/geany/tags;
Closes #2778923 .
Show the number of tags in a user global tags file (instead of the
running total) in the debug message.
Also print debug messages when loading a tag file manually or for
default global tags files e.g. python.tags.
- code:
Move NestingLevel tags code into a separate file, add functions.
- docs:
Add 'Installation prefix' section instead of quoting '/usr/local'
each time.
Update for custom system global tags files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3788 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-12 15:55:13 +00:00
Nick Treleaven
14653b1ba2
Remove NestingLevel::is_class field, use ::type instead.
...
Move addNestingLevel() back to python.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3785 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-12 14:59:29 +00:00
Enrico Tröger
23fc3ef0d7
Remove unnecessary call to g_intern_string() to fix build with GLib 2.8 ( closes #2790051 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 15:57:02 +00:00
Enrico Tröger
035d6c3e22
Use plain old fwrite() in utils_write_file(). g_file_set_contents() is only used when explicitly requested.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3781 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 15:56:33 +00:00
Enrico Tröger
ecfbe40cdc
Unset maybe previously keywords when setting up Scintilla for XML files. This fixed wrong highlighting after switching back to filetype XML from another one.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3780 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 15:56:08 +00:00
Nick Treleaven
58b5c053bc
Add reStructuredText scope information for tags (for symbol list
...
grouping).
Add nestingLevelsPush(), nestingLevelsPop(),
nestingLevelsGetCurrent().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 15:36:46 +00:00
Nick Treleaven
95f99f4034
Move NestingLevel code into a separate file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3778 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 14:15:00 +00:00
Enrico Tröger
66b78ad961
Create parent directories if necessary when checking for the configuration directory on startup ( closes #2784577 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3777 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-10 17:44:43 +00:00
Enrico Tröger
4d193805fc
Refactor some multiple used code into get_multiline_comment_style().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3776 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-10 17:44:28 +00:00
Enrico Tröger
daf4c3478b
Make the clear icon of entry fields act on the release event, not on the press event like for other buttons.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3775 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-10 17:44:14 +00:00
Enrico Tröger
ac50ceb983
Backport change from Scintilla CVS:
...
Change capitalisation of header file to suit cross-compilation on Unix for Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3774 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-08 17:04:40 +00:00
Enrico Tröger
5c91e8aefd
Add utils_color_invert() and use it in highlighting.c and printing.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-08 17:00:28 +00:00