Enrico Tröger
5974fe3b63
Merge recent changes from the CTags project to further improve PHP symbol parsing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4212 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-20 19:06:48 +00:00
Enrico Tröger
b84a64934d
Add new filetype: Abc (patch by Eric Forgeot, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4211 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-20 18:46:56 +00:00
Enrico Tröger
c786d69e00
After clearing a text field using the embedded clear icon, put the input focus into this text field.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4210 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:08:21 +00:00
Enrico Tröger
a26e5b96ba
Save an if expression.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4209 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:05:36 +00:00
Enrico Tröger
7cd556f400
Use always the bundled Waf binary which is preferred.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4208 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:04:21 +00:00
Enrico Tröger
ba59bcd0dc
Plug a small memory leak and improve function signature of add_page_header().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4207 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:03:18 +00:00
Enrico Tröger
08f4d7c178
Fix wrong alignment of printed pages when page headers are disabled ( closes #2856822 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4206 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:00:06 +00:00
Nick Treleaven
ccb6c535b4
Remove queue.o.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 17:38:53 +00:00
Nick Treleaven
b25e3e9650
Remove queue.[hc] - use GQueue instead of GeanyQueue.
...
Beep if there are no more snippet positions.
Limit length of snippet positions queue to 20.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 17:37:13 +00:00
Nick Treleaven
8c1743cb3e
Add foreach_dir() API macro.
...
Update API docs for utils_get_file_list().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 16:47:45 +00:00
Nick Treleaven
a3f7357137
Use SYMBOLS_COLUMN_NAME constant.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4202 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 16:39:11 +00:00
Nick Treleaven
51370136c6
Free file list memory whilst iterating the list.
...
Minor formatting fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4201 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 14:45:17 +00:00
Nick Treleaven
5b708760cf
Make editor_prefs.snippets hash table private (not a pref).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 17:30:30 +00:00
Nick Treleaven
1986d915cc
Run ./scripts/fix-alignment.pl -w src/*.[hc] plugins/*.[hc] (skipping generated files).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 14:13:38 +00:00
Nick Treleaven
2866d0e859
Note the documentation files use (4) spaces for indentation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4198 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 14:05:14 +00:00
Nick Treleaven
ab52956150
Don't move the cursor when reloading.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4197 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 13:56:58 +00:00
Nick Treleaven
df5acb442a
Remove unused variable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 12:23:50 +00:00
Nick Treleaven
4097dfec5b
Make Goto Tag commands use the current selection if present (useful
...
for selecting part of a tag or for ReST section names with spaces
in).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 12:13:50 +00:00
Nick Treleaven
aec081dcf3
Add item: custom template insertion.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 11:54:44 +00:00
Frank Lanitz
ab81ef986f
Remove deprecated --debug flag. Please use --verbose/-v instead.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-15 19:56:05 +00:00
Frank Lanitz
423666070e
Update of Turkish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4192 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-15 19:55:37 +00:00
Nick Treleaven
e84ddc2d70
Show Find in Files stderr output in messages window instead of
...
debug window so that invalid regex messages can be seen easily.
Combine FIF stdout and stderr callback code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4191 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-15 18:00:32 +00:00
Nick Treleaven
14e4bc7239
Change snippet_goto_next_cursor() to
...
editor_goto_next_snippet_cursor() as it's in editor.h.
Avoid using GPOINTER_TO_INT macro.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 17:28:07 +00:00
Nick Treleaven
1e53d84b6c
Add warning that GeanyQueue may be removed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4189 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 17:26:11 +00:00
Nick Treleaven
06113d6782
Add 'Allow' button when showing the conflicting keybinding dialog.
...
Make dialogs_show_question_full() use GTK dialog on Windows if
button text is not the stock yes/no items.
Add dialogs_show_prompt() which also has an 'Apply' button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 17:10:22 +00:00
Nick Treleaven
b00d39b365
Add example of pointer declarations and more operator spacing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4187 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 14:48:24 +00:00
Nick Treleaven
faa4e734a6
Remove accidentally added tab indentation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 14:39:11 +00:00
Nick Treleaven
13859cbd4c
Allow operators to have more than one space either side to allow alignment with other lines.
...
Fix spacing '&' or '-' after a ']' bracket.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 12:32:50 +00:00
Nick Treleaven
683e09aae5
Update syntax highlighting after changing the 'Invert syntax
...
highlighting colors' pref, instead of requiring a restart.
Remove filetypes.common invert_all option - use 'Invert syntax
highlighting colors' pref instead (closes #2854525 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 11:53:08 +00:00
Nick Treleaven
f4822ae10a
Fix opening filenames beginning with two dots ( closes #2858487 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4183 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 11:14:23 +00:00
Nick Treleaven
8dbaee549d
Add workaround for spacing '&' and '-' operators.
...
Ensure 2 blank lines after a function body.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4182 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-13 15:36:43 +00:00
Nick Treleaven
6d5844ae69
Fix pointer alignment & 4 if statement alignments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4181 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-13 15:33:04 +00:00
Nick Treleaven
51dc7f08b4
Add 'Compiler options & warnings' section.
...
Update Style section to be clearer about code alignment and show
some example code.
Other minor edits.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4180 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-13 15:20:28 +00:00
Nick Treleaven
d43aaa869e
Fix 'Reflow block' command when at the last paragraph and there's
...
no last newline (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4179 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-13 11:23:14 +00:00
Nick Treleaven
c100272031
Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
...
sci_is_marker_set_at_line() to the plugin API (thanks to Yura
Siamashka).
Add sci_toggle_marker_at_line().
Fix SciFuncs alignment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-12 17:39:49 +00:00
Nick Treleaven
4b3cdd44ce
Fix out-of-date symbols.c note.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4177 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-12 16:19:03 +00:00
Lex Trotman
0d0f910a07
Fix erroneous free of returned string in prepare_run_script.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4176 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-11 00:06:00 +00:00
Frank Lanitz
8c0b288906
Changing default value for showing pdf and dvi
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4175 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-10 20:05:59 +00:00
Nick Treleaven
91f91d75fd
Switch int/gint.
...
Regenerate docs, fix section level.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4174 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-10 16:59:20 +00:00
Nick Treleaven
01e2679ecf
Mention using filetype_make_title() when adding a filetype.
...
Mention conflicting scintilla lexers will not be accepted; new lexers
should be submitted back to the scintilla project.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4173 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-10 16:37:21 +00:00
Nick Treleaven
cc984f9d7c
Take multiple files if -w argument is supplied.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-10 16:11:13 +00:00
Frank Lanitz
44f3f11068
Change language string for Slovenian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 18:33:31 +00:00
Frank Lanitz
19e9745153
Update of Swedish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4170 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 18:32:13 +00:00
Nick Treleaven
07778efda8
Fix Gtk warning when trying to update documents popup menu item
...
sensitivity before they exist.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 15:42:21 +00:00
Nick Treleaven
a34ffb0ccc
Space commas.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4168 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 15:31:46 +00:00
Nick Treleaven
874fd449fa
Fix parsing #defines.
...
Ignore & operator like *,- as they could be unary and so are too hard to match correctly.
Space +,> and conditional ternary operator correctly.
Fix parsing lines starting with an indent and closing bracket.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 15:13:50 +00:00
Nick Treleaven
e314175fde
Fix wrong replacement of tabs in some alignments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4166 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 14:37:30 +00:00
Nick Treleaven
3eae7e813a
Minor edit of plugin manager string ;-)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4165 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 12:10:57 +00:00
Nick Treleaven
a7e5fb3332
Fix multi-byte character constant comparison.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 11:50:06 +00:00
Enrico Tröger
6a73751aba
Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-06 20:57:42 +00:00