Nick Treleaven
bebd0dcd17
Rename word/word2 named styles to keyword/keyword2.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 13:27:32 +00:00
Nick Treleaven
3a5317d746
Remove duplicates in 'Insert Comments' editor popup menu; rename
...
submenu 'More'.
Separate main menu insertion comments depending on number of times
used in a document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5383 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 13:13:33 +00:00
Nick Treleaven
3b7c8cdeb0
Restore top-level editor popup item 'Find Document Usage'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 12:35:50 +00:00
Nick Treleaven
e37b8eab76
Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
...
Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 12:10:17 +00:00
Nick Treleaven
6bc4029f50
Add docs for the HTMLChars plugin (patch by Frank).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 18:54:18 +00:00
Nick Treleaven
76a6ad8a93
Show GIO/built-in regex support in startup debug message as well as
...
for --version.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 17:09:09 +00:00
Enrico Tröger
850f7b8ae3
Show which regex implementation is used.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 15:40:18 +00:00
Enrico Tröger
141040305d
Allow skipping configure during autogen by setting NOCONFIGURE=1 (thanks to Chow Loong Jin).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 15:32:37 +00:00
Enrico Tröger
227eefdc13
Use non-GIO mime-type icon lookup if GIO lookup fails.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5374 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 15:24:26 +00:00
Enrico Tröger
db3b65484c
Fix installation of template files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 15:06:15 +00:00
Enrico Tröger
3ad555d003
Fix build with GTK 2.12: explicitly include gio.h if GIO is available and to be used regardless of the USE_GIO_FILEMON flag.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5372 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 13:48:10 +00:00
Nick Treleaven
4db93b90d7
Make use_safe_file_saving hidden pref apply even when GIO is
...
available, because g_file_replace_contents() doesn't handle disk
space exhaustion.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 13:08:13 +00:00
Nick Treleaven
e495ce83a0
Fix resource leak when saving files with GIO (patch by Colomban
...
Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-04 18:07:44 +00:00
Nick Treleaven
f346f985df
Add filetypes_get_display_name() to get translations for filetype
...
None.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5366 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-04 18:06:09 +00:00
Nick Treleaven
29bc84dfce
Do not translate 'name' field for filetype None because it is used
...
for hash table lookup. This fixes missing files in the Open dialog
for the 'All files' filter with non-English locales (thanks to Sardem
FF7).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5365 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-04 16:45:47 +00:00
Nick Treleaven
e4690e1598
Fix wrongly adding newlines for templates on disk that don't have
...
LF line endings when default line endings are not LF, e.g. Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5362 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 18:03:06 +00:00
Nick Treleaven
47fe273033
Use g_file_replace_contents() if available to save documents - this
...
should help workaround bugs in GVFS.
Needs testing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5361 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 17:42:54 +00:00
Nick Treleaven
e5fefb576d
Print "GIO" and "built-in regex" if enabled with --version.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5360 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 17:39:46 +00:00
Nick Treleaven
d39ae0de1c
Don't allow pasting of numbers followed by other characters in the
...
Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5359 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 17:15:22 +00:00
Nick Treleaven
98489fed51
Fix Alt+[0-9] switching tabs when other modifiers are also held.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 15:03:16 +00:00
Nick Treleaven
65deb1e51d
Rename submenu item labels to be more descriptive.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 13:05:12 +00:00
Nick Treleaven
daae45054c
Only automatically replace characters when the current document is
...
a Markup document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5353 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 12:57:10 +00:00
Nick Treleaven
e7206f35b8
Add sci_get_lexer() to plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 12:55:17 +00:00
Nick Treleaven
0a6f825926
Respect 'Smart' home key for Shift+Home ( fixes #3100290 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5350 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-01 16:16:20 +00:00
Nick Treleaven
b6e22c8bdf
Detect user and system filetype configuration files as Conf
...
filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5349 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-01 15:18:32 +00:00
Nick Treleaven
92d9221042
Remove trailing directory separator for app->datadir and
...
app->docdir for consistency with the other directory fields.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5348 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-01 15:17:22 +00:00
Frank Lanitz
28283e0d7b
Fix comments for Ada. Thanks to Jonas Baggett for reporting.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-01 10:57:58 +00:00
Nick Treleaven
eab87560d8
Add named style 'extra', use for C-like filetypes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5344 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-29 15:09:21 +00:00
Nick Treleaven
dbb9a1b2b8
Fix not autocompleting when breaking lines.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5343 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-29 15:00:42 +00:00
Nick Treleaven
f3a7e11fe0
Add install-data-only target to only install data/* to speed up
...
testing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5342 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-29 14:59:32 +00:00
Nick Treleaven
6903c883eb
Move plugin_set_info prototype and parenthesize arguments for
...
PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
thanks).
Fix putting pointer symbol before name, not after type.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5341 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-28 16:44:52 +00:00
Nick Treleaven
cf1a664692
Make Python use named styles for color scheme support - use
...
alt.conf color scheme if you want the old colors.
Add named style 'function'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-28 12:58:12 +00:00
Nick Treleaven
879ef25b09
Match data-* and aria-* as HTML attributes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5338 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-28 12:06:53 +00:00
Nick Treleaven
3b90c93953
Fix notebook tab menu icons using theme for "text/plain" filetypes.
...
Make filetype mime_type "text/plain" instead of NULL.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-27 14:20:18 +00:00
Nick Treleaven
ad222465b3
Leave text/plain mime_type fields as NULL (like custom filetypes).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 17:36:35 +00:00
Nick Treleaven
d32a7e4619
Add notebook tab document icons (based on patch by Colomban
...
Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5331 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 17:30:16 +00:00
Nick Treleaven
3455a25cf4
Show mimetype icon in sidebar Documents list (patch by Colomban
...
Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5330 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 17:20:48 +00:00
Nick Treleaven
e0702ea2b2
Add filetype mimetype field (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 16:02:30 +00:00
Nick Treleaven
f87e9d5d68
Sort filetypes_by_title last instead of on insertion to prevent
...
exponential time.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 15:33:16 +00:00
Nick Treleaven
a7c7d314dc
Change default for 'Override Geany keybindings' to on.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5327 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 15:20:53 +00:00
Nick Treleaven
aab478ac26
Add docs for 'Ensure consistent line endings' pref.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5326 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 15:13:42 +00:00
Nick Treleaven
0055f819b1
Edit XML tag autocompletion pref and tooltip to include HTML.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5325 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 15:11:06 +00:00
Nick Treleaven
076452006c
Add HTML5 attributes (thanks to Ross McKay).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 17:29:52 +00:00
Nick Treleaven
568f1853d2
Remove unnecessary uses of FILETYPE_ID() macro with
...
GeanyDocument::file_type.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5323 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 17:24:47 +00:00
Nick Treleaven
3c6212544c
Auto-indent after an HTML/XML line with a missing closing tag (patch
...
by Eugene Arshinov, thanks).
Behaviour only applies if XML tag autoclosing is off.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5322 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 16:58:13 +00:00
Nick Treleaven
c25d9856fe
Add 'Ensure consistent line endings' file saving pref (patch by
...
Manuel Bua, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5321 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 16:24:55 +00:00
Nick Treleaven
a274363275
Move HTML automatic <table> tag completion into a 'table' snippet
...
so the user can decide when to use it (patch by Eugene Arshinov,
thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5320 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 16:07:15 +00:00
Nick Treleaven
975376db78
Add HTML5 element names (thanks to Ross McKay).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5319 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-22 16:51:32 +00:00
Nick Treleaven
558126a0c8
Fix not changing edited keybindings when cancelling the Preferences
...
dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5317 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-22 12:20:37 +00:00
Nick Treleaven
23b5f0a753
Refactor shared code with kb_cell_edited_cb().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5316 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 16:40:31 +00:00