3924 Commits

Author SHA1 Message Date
Nick Treleaven
7a7b02a22e Move and update 'Custom filetypes' section.
Add 'Creating a custom filetype from an existing filetype' section.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-30 17:49:22 +00:00
Nick Treleaven
6c30fc692f Add Edit->Insert Alternative White Space menu item (was previously
removed from Edit->Commands submenu).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5498 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-24 13:31:39 +00:00
Nick Treleaven
4c17428732 Add filetypes_get_display_name() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 16:59:38 +00:00
Nick Treleaven
4c6bca4373 Add short 'View menu' section and 'Color schemes menu' section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5496 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 16:49:20 +00:00
Nick Treleaven
467450fdce Scroll to the current line when moving the cursor to the next
cursor position in a snippet (#3139490).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5495 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 13:44:41 +00:00
Nick Treleaven
7a35566cc8 Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 13:18:26 +00:00
Nick Treleaven
910e4afb29 Split Preferences dialog Interface tab into subnotebook to reduce
height of dialog (fixes #3141277). Reuses existing strings.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5493 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 12:49:56 +00:00
Nick Treleaven
4ba5b4c217 Use italic for note labels in the Build Commands dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-09 13:14:50 +00:00
Nick Treleaven
df2e2c9e33 Reduce Set Build Commands dialog column 1 width by using '#' label.
Fix memory leak.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-09 13:03:42 +00:00
Nick Treleaven
3637847355 Replace doc-comments with '/* *' comments to show there's no build
API for plugins.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-08 17:13:10 +00:00
Nick Treleaven
c7788e2043 List 'Tools->Configuration Files->filetypes.common' menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5475 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 18:07:21 +00:00
Nick Treleaven
a8b016884a Update Ignore Tags section with example and menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 18:02:53 +00:00
Nick Treleaven
e8dba2dc31 Add 'Configuration file paths' section and link to it instead of
repeating typical system data and user config directory paths.
List 2 Tools->Configuration Files menu items.
Add 'Plugin Manager' section break.
Edit some related sections.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5473 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 17:42:31 +00:00
Nick Treleaven
b595c0a3d8 Disable 'Send Selection to Terminal' item when not available
instead of removing it to avoid trailing separator.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:25:11 +00:00
Nick Treleaven
650b5ae84a Fix some more wrong uses of vte_info.load_vte instead of
vte_info.have_vte.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:16:57 +00:00
Nick Treleaven
d65d3adcc4 Fix segfaults when using 'Send Selection to Terminal' and the VTE
is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
pref (patch by Dimitar Zhekov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:02:46 +00:00
Nick Treleaven
bc837b18a5 Improve error message for document_save_file() if doc->file_name is
NULL (reusing existing strings).
Add warning about this in the API docs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5466 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-06 18:04:42 +00:00
Nick Treleaven
dfcd8b56bc Add more info about Scintilla fix.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-03 17:53:58 +00:00
Nick Treleaven
2982f22337 Backport Scintilla HG fix: Remove styling idle in destructor to
avoid crashing when idle called after ScintillaGTK instance
destroyed (fixes #3111058).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-03 13:51:54 +00:00
Nick Treleaven
f201500ed5 Backport Scintilla HG fix: Remove styling idle in destructor to
avoid crashing when idle called after ScintillaGTK instance
destroyed (fixes #3111058).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-03 13:28:13 +00:00
Nick Treleaven
1f2ef01d31 Warn about file truncation if unsafe file saving fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5455 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-01 13:06:01 +00:00
Nick Treleaven
cba09d5e8d Check result of fclose() for utils_write_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-30 18:18:24 +00:00
Nick Treleaven
31a4d066b3 Add 'Open in New Window' command in the notebook tab menu (based on
patch by Matthew Brush, thanks - #3118059).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5448 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-29 13:21:35 +00:00
Enrico Tröger
b6a379678e Enable GIO and built-in regex support on Windows when compiling without Waf.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 17:41:37 +00:00
Enrico Tröger
313e0e0413 Update for Scintilla 2.22.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5445 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 15:37:13 +00:00
Enrico Tröger
c24980ab07 Disable preprocessor #define tracking for the CPP lexer (enabled by default in Scintilla).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 15:27:43 +00:00
Enrico Tröger
2c39e4d8c3 Reformat and improve the Windows resource file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 23:38:29 +00:00
Enrico Tröger
b106aca3e5 Update Windows-Makefile-based build system for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 23:14:59 +00:00
Enrico Tröger
5fb38517e3 Update autotools-based build system for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:43:31 +00:00
Enrico Tröger
ad6bd2d601 Update Waf-based build system for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5438 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:29:16 +00:00
Enrico Tröger
2c7d37dde4 Update Scintilla to version 2.22.
Keep Scintilla's directory structure mostly and only remove unused lexers.

For now, this will break the build. The build systems have to be updated as well as scintilla_changes.patch.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5437 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:23:05 +00:00
Nick Treleaven
aad0728959 Add note to indentation prefs page about using Project->Apply
Default Indentation for currently open documents.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 13:28:52 +00:00
Nick Treleaven
9f2d03da07 Add *.latex pattern.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5435 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 13:22:49 +00:00
Nick Treleaven
ff6354d833 Remove unnecessary 'global' from long line editor pref field names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:36:29 +00:00
Nick Treleaven
a29d75af2c Add editor_get_prefs() instead of editor_get_long_line_*()
functions. This general function can be extended to support
various project and document overrides.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:25:58 +00:00
Nick Treleaven
3a3d8815a3 Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 16:23:22 +00:00
Nick Treleaven
7dbb4359f4 Don't use 'Enable' in pref labels when unnecessary.
Rename XML/HTML tag autocompletion -> auto-closing.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 13:43:36 +00:00
Nick Treleaven
c61a189c00 If the current word's tag is on the current line, make Go to Tag
Definition look for a tag declaration instead, as this is more
useful. Likewise make Go to Tag Declaration search for a tag
definition in this case also.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 13:17:42 +00:00
Nick Treleaven
47372d9331 Add 'Mark All' Search menu command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 12:50:24 +00:00
Nick Treleaven
f37202685d Warn about preprocessor testing GEANY_API_VERSION below 200 because
those tests will always fail.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 16:51:16 +00:00
Nick Treleaven
7814bb2a5a Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
so you can protect code with '#if GEANY_API_VERSION >= 200'.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 16:30:44 +00:00
Nick Treleaven
14daa797d0 Fix auto-displaying of sidebar tab bar when sidebar is reshown.
Only auto-display symbols and documents tabs when showing the
sidebar if there are no plugin tabs.
Don't hide the sidebar on startup if only plugin tabs are visible
(fixes #3101867).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5422 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 13:49:38 +00:00
Nick Treleaven
8442c51e16 Explain how to grep the source for Scintilla lexer properties.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 12:45:20 +00:00
Enrico Tröger
f3914355aa Add 'instanceif' keyword for PHP (closes #3109330).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-21 17:40:08 +00:00
Nick Treleaven
b9a42fa6d1 Add dialogs_show_input() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:27:01 +00:00
Nick Treleaven
9c94b5b3a4 Parse PHP final functions (fixes #3111171).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:20:12 +00:00
Nick Treleaven
554f1b0526 Don't change default build command entry color when cancelling
label editing.
Make dialogs_show_input() return NULL when cancelled.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 17:51:15 +00:00
Nick Treleaven
e24d4fbfa0 Re-focus Set Build Commands/Project dialogs after editing a build
command label.
Add 'parent' argument to some dialogs_show_input*() functions because
the dialog parent may not always be the main window.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 16:15:10 +00:00
Nick Treleaven
d4b23f9f3e Use 'Filetype build commands' and 'Independent build commands'.
Fix saying project *independent* execute can only be set by hand.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-17 17:42:16 +00:00
Nick Treleaven
c8c19697f9 Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
Build Commands dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-17 15:33:24 +00:00