3601 Commits

Author SHA1 Message Date
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
b231d9a903 Rename wrong function argument name.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5318 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-22 12:27:11 +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
Nick Treleaven
50cb5e54c9 Rename confusing callback name for prefs dialog response.
Edit comment - use Stash for new 'simple' prefs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5315 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 16:19:06 +00:00
Nick Treleaven
ad5bedd07a Rename confusing Grab Key dialog callback functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5314 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 16:06:53 +00:00
Nick Treleaven
f091b41ff8 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5313 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 15:59:06 +00:00
Nick Treleaven
a366609fb0 Remove filetype default extensions from code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5312 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 15:41:24 +00:00
Nick Treleaven
1487173f71 Don't write 'ft->lang = -2' for filetypes with no tag parser; this is the default anyway.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5311 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 16:28:06 +00:00
Nick Treleaven
a83ee579fa Move filetype comment_{open,close} defaults into data files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5310 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 16:22:58 +00:00
Nick Treleaven
e28f5bc3ab Move filetype 'extension' default into data files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5309 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 16:15:39 +00:00
Nick Treleaven
38e23095dd Add Erlang filetype (patch by Taylor Venable, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 15:45:25 +00:00
Nick Treleaven
133d9439b9 Use radio buttons for View->Editor->Color Schemes menu.
Don't hide the menu when only the default item is available.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 11:49:50 +00:00
Nick Treleaven
3367e67393 Use editor_get_eol_char() instead of inline copy.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5304 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 11:38:37 +00:00
Nick Treleaven
1e37c8922b Prevent debug message about a missing 'default' named style when
using just a user color scheme file.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5303 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-18 17:13:59 +00:00
Nick Treleaven
cb262580b3 Fix saving project indent prefs straight after using project
properties.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5302 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-18 14:16:08 +00:00
Enrico Tröger
de16fda4f6 Fix off-by-one bug in 'search_mark_all'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5299 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-16 12:37:20 +00:00
Nick Treleaven
6738d3bc1e Use secondary text for 'file not found on disk' dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5298 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-15 17:24:13 +00:00
Nick Treleaven
9e1ff83085 Add 'Insert New Line Before/After Current' keybindings (based on
patch by Eugene Arshinov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5297 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-15 17:15:13 +00:00
Nick Treleaven
21536dfb84 Fix build with GLib 2.8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5293 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-08 14:42:41 +00:00
Nick Treleaven
2473ab6862 Revert X11 workspace socket support as it needs more work; moved
to workspace-sockets branch.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5292 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-07 14:10:32 +00:00
Nick Treleaven
24fd9c1824 Set C++, C# title as *source* file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5289 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-07 13:45:23 +00:00
Nick Treleaven
b109889e5e Add Lisp filetype (patch by Mário Silva, thanks).
Note: Lisp lexer was taken from Scintilla instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5286 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-06 17:10:15 +00:00
Nick Treleaven
572826e5e3 Group Open dialog encoding options by submenus (patch by Adam Ples,
thanks; #3047717).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5284 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-06 15:53:53 +00:00
Nick Treleaven
7c0e80c745 Fix build with GLib 2.8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5283 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-06 15:32:40 +00:00
Frank Lanitz
e6151d16e9 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5282 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-06 06:07:07 +00:00
Nick Treleaven
14d751dd87 Don't cache overridden lexer properties.
Add foreach_strv() to plugin API.
Add utils_strv_join().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5280 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-05 11:07:10 +00:00
Nick Treleaven
0f63274d8b Avoid global variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5279 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-04 14:33:21 +00:00
Nick Treleaven
1b6b5210eb Read snippet keybindings from system keyfile also.
Add keybinding example to default snippet.conf.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5278 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-04 14:29:44 +00:00
Nick Treleaven
3f04f8961e Move foreach_strv to utils.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5277 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-04 14:20:40 +00:00
Nick Treleaven
75a366c1e3 Rename snippets_init -> snippets_load.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5274 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-04 10:41:06 +00:00
Enrico Tröger
b0464705db Strip the output of {command: } templates (closes #3079063).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5272 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-02 14:36:12 +00:00
Nick Treleaven
ae70850596 Add snippet keybinding support for keys in user snippets.conf (based
on patch by Eugene Arshinov, thanks). No docs yet.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5271 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-01 15:08:43 +00:00
Nick Treleaven
45399a19f8 Refactor editor_snippets_init().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5270 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-01 14:28:05 +00:00
Nick Treleaven
dc61e14cc2 Fix passing quoted arguments when using 'Send Selection to'. This
means sed 's/\./(dot)/g' now works.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5268 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-01 12:43:32 +00:00
Nick Treleaven
050bec1bb6 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
commands for 'Send Selection to' (oops).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5267 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 17:10:50 +00:00
Nick Treleaven
054afed310 Add Forth filetype (patch by Thomas Huth, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5266 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 16:59:22 +00:00
Nick Treleaven
59690a1617 Avoid delay and redrawing when automatically opening a new document
after closing one.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5265 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 14:49:54 +00:00
Nick Treleaven
95c4f6046e Link with X11 if found to fix linking with a recent GNU ld.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5264 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 14:14:54 +00:00
Nick Treleaven
fc7e82bec6 Add filetypesprivate.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5263 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 13:55:31 +00:00
Nick Treleaven
d8dce113a2 Add symbol_list_sort_mode per-filetype setting, set to sort by line
number by default for Markdown, reStructuredText and Txt2Tags.
Add utils_get_setting() macro for reading a key from a home or
system keyfile.
Move GeanyFiletypePrivate to filetypesprivate.h.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5262 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 13:50:33 +00:00
Enrico Tröger
a29174086a When commenting/uncommenting with single-line comment characters, ignore any end of line characters before evaluating the current line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5259 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-26 18:02:36 +00:00
Nick Treleaven
3fe15d0ebb Add hidden pref new_document_after_close for whether to open a new
document automatically, off by default.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5257 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-23 16:24:43 +00:00
Nick Treleaven
4bbde90860 Move editor popup menu Insert Comments submenu to top of Insert menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5256 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-23 14:37:22 +00:00
Nick Treleaven
acd07db9c1 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
Insert menu.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5255 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-23 14:32:32 +00:00
Nick Treleaven
90dc51914d Fix segfault on idle callback when quitting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5254 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-23 14:20:29 +00:00
Nick Treleaven
df6d46d345 Add hidden pref 'find_selection_type' with option to repeat last
search when there's no selection.
Change default Find Selection behaviour to not let the X selection
override the current word (can be confusing).
Add docs for Find Selection commands.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5253 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-23 12:22:44 +00:00
Nick Treleaven
6bb2011f14 Improve Stash GUI example.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5252 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-22 16:33:38 +00:00