Nick Treleaven
26ddc69e5d
Fix warning in utils_find_open_xml_tag() with malformed tags like
...
<~foo> (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5737 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-25 16:23:58 +00:00
Nick Treleaven
e12266f3b0
Replace dates on template insertion, not when loading templates.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-23 12:18:32 +00:00
Nick Treleaven
2a45938205
Add utils_find_open_xml_tag_pos() API function (patch by Eugene
...
Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-23 11:44:31 +00:00
Nick Treleaven
a89ba90b15
Add utils_string_find() to search in a fixed range.
...
Change utils_string_replace() to just replace a fixed number of
characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5730 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-19 16:36:29 +00:00
Nick Treleaven
06f9d7e068
Fix multiple snippet cursor positions for Tabs + Spaces mode.
...
Simplify editor_insert_snippet() code now we use cursor marker
strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-19 16:04:31 +00:00
Enrico Tröger
b8f8a36815
Use document_compare_by_tab_order() as default compare function to sort the document list in the document notebook tab menu, this fixes the currently broken default ordering.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-17 13:41:54 +00:00
Enrico Tröger
9f8c5103a8
Add document_compare_by_tab_order() and document_compare_by_tab_order_reverse() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-17 13:40:04 +00:00
Nick Treleaven
0b2d16a41a
Add function utils_string_replace() to replace in a fixed range.
...
Remove utils_string_replace_helper() and update cursor marker code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5726 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-15 16:59:15 +00:00
Nick Treleaven
69c5d1f15e
Fix snippets bug: {ob}pc{cb} replaced by '%' instead of {pc}.
...
Refactor snippets_make_replacements() using geany_cursor_marker.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5725 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-14 17:37:46 +00:00
Colomban Wendling
b5c8b63216
Avoid triggering autocompletion on PHP open tags ( closes #3199442 )
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-13 21:55:31 +00:00
Colomban Wendling
4b2d2b01fb
Fix date of an entry (oops)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-13 21:55:18 +00:00
Nick Treleaven
ac11289415
Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5722 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-13 15:04:37 +00:00
Nick Treleaven
8a817e694b
Make utils_build_path() return a copy for safety.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5721 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-13 12:59:20 +00:00
Nick Treleaven
9733a9806f
Use brackets for DOC_FILENAME() macro 'doc' argument.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5719 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-13 12:20:19 +00:00
Nick Treleaven
5e4c8e0ade
Update dox for document_compare_by_display_name() with warning
...
about parameter addresses.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5718 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-13 12:16:02 +00:00
Enrico Tröger
211a963773
Rename document_sort_by_display_name() into document_compare_by_display_name(), thanks again Nick.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-12 17:20:59 +00:00
Enrico Tröger
cb66df3d76
Fix wrong casting of array pointers, thanks Nick.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5713 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-12 17:17:54 +00:00
Colomban Wendling
a788a38240
Revert "Don't update parent WorkObjects when updating one in real-time"
...
This reverts commit 877cc1d97acd185cc7e0e88bb0b014fb74e16072.
This commit broke calltips, we need another fix for it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-11 15:54:43 +00:00
Nick Treleaven
8523592d11
Make utils_make_filename() return a copy for safety.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5709 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-11 14:26:51 +00:00
Nick Treleaven
45fe0eb088
Refactor with filetypes_get_filename().
...
Make filetypes_get_conf_extension() static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-11 14:21:52 +00:00
Nick Treleaven
de2b01da7b
Store VTE path with the session (based on patch by Nicolas
...
Sierro, thanks).
There's still a bug with loading a project at startup; closing the
project doesn't restore old VTE path.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5707 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-11 12:40:34 +00:00
Nick Treleaven
3aa483d82f
Update path when saving a new document for the first time if the
...
follow path option is enabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5706 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-11 12:07:19 +00:00
Enrico Tröger
66c8b7faee
Add ui_menu_add_document_items_sorted() and document_sort_by_display_name() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5705 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-10 17:03:41 +00:00
Enrico Tröger
6dd81cb341
Fix mapping of SQL tags for Geany's symbol list ( closes #3216474 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5704 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-10 14:52:57 +00:00
Enrico Tröger
d91810115a
Add and use signal "document-reload" to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5703 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-10 13:53:05 +00:00
Enrico Tröger
f34622e8ad
Ignore scrolling events in on_update_ui().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5702 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-10 12:08:24 +00:00
Colomban Wendling
2d06cd6c5a
Don't set font twice for line numbers and braces
...
No need to set the font for some specific styles that are set up anyway
when we set the font for all styles from 0 to STYLE_MAX.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5700 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-08 01:35:58 +00:00
Colomban Wendling
7a3530b3c6
Copy C styling rather than redefining the styles
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-08 00:14:06 +00:00
Colomban Wendling
c3828e448c
Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-08 00:13:53 +00:00
Colomban Wendling
b88a277a06
Add highlight for triple-quoted verbatims
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5697 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-08 00:13:37 +00:00
Colomban Wendling
d6278f3381
Make hightlighting of triple-quoted verbatim an option
...
Backport from Scintilla HG (3602:5536ed81a85b).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5696 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-08 00:13:24 +00:00
Nick Treleaven
20bab74fd5
Don't auto-enable case-sensitive option when enabling regex in
...
Find/Replace dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-05 16:16:47 +00:00
Nick Treleaven
4a5c07a106
Remove TEMPLATES_GET_FILENAME() macro.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-05 15:47:31 +00:00
Enrico Tröger
8e6ed9905c
Reset cursors when Scintilla widget is realized (Backport from Scintilla HG, original patch by Matthew Brush).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5693 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-04 18:06:09 +00:00
Enrico Tröger
938477a073
Fix X PRIMARY selection issue when Scintilla widget is unrealized/re-realized (Backport from Scintilla HG, original patch by Matthew Brush).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5692 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-04 18:03:35 +00:00
Colomban Wendling
c06d9af6d5
Update the ChangeLog for last commit (oops)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5691 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-04 18:01:14 +00:00
Nick Treleaven
e3b2ea1617
Make Project->Properties the last menu item so it's faster to use.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5689 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-04 17:05:44 +00:00
Colomban Wendling
0e0b3687bb
Fix ID of newly added commands in the Set Custom Commands
dialog
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 17:52:49 +00:00
Enrico Tröger
779e00ec26
Reflect the existence of the entered command in Set Custom Commands
dialog as well using the yes/no icon.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5686 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 17:25:27 +00:00
Enrico Tröger
a43d27d0a4
Replace escape character '\' by slash '/' in paths in the Windows Makefiles (patch by Matthew Brush, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 16:38:31 +00:00
Enrico Tröger
abdb3c4c20
Add Scintilla's version.txt file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5683 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 16:21:50 +00:00
Enrico Tröger
c0b726a298
Update Scintilla to version 2.25.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5682 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 16:16:52 +00:00
Colomban Wendling
4ffcfbba6c
Don't allow editing keybinding column of group rows
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5681 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 15:54:28 +00:00
Colomban Wendling
a009c2b48e
Fix loading and updating menu accelerators for custom commands
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 15:53:48 +00:00
Colomban Wendling
0b79063580
Fix date in the ChangeLog (oops)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-02 20:09:42 +00:00
Colomban Wendling
c9aaf4a775
Improve the Set Custom Commands
dialog
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-02 18:36:35 +00:00
Colomban Wendling
8365912850
Make Send selection to
send the current line if there is no selection
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5675 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-01 20:52:31 +00:00
Nick Treleaven
da4edc441b
Remove old filetype templates support - users can use custom file
...
templates instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5674 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-01 16:27:38 +00:00
Nick Treleaven
89f9182c51
Tweak some build dialog labels:
...
Clear -> Reset.
Fix capitalization.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5672 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-01 16:02:17 +00:00
Nick Treleaven
e8c68d7e11
Move Preferences dialog Toolbar tab under Interface tab.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5671 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-01 12:41:26 +00:00