1423 Commits

Author SHA1 Message Date
Nick Treleaven
c95b33301e Fix no response with Project dialogs when the user enters invalid
information (oops).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1469 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-21 16:27:38 +00:00
Nick Treleaven
492cc39a9e Restore the current project when restarting Geany.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1468 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-21 12:25:17 +00:00
Nick Treleaven
ccd28aa90c Move load_file_lists() code out of configuration_load().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1467 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-20 16:43:11 +00:00
Nick Treleaven
55d8397b1c Move save_recent_files(), save_session_files() code out of configuration_save().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1466 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-20 16:31:19 +00:00
Nick Treleaven
d3b3c943f1 Update generating global tags section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1465 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-20 14:44:34 +00:00
Enrico Tröger
e0985eac5a Fixed handling of command line arguments within the shell command for the VTE to enable use of shells as login shells.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1464 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-19 13:44:42 +00:00
Nick Treleaven
b954dc8245 Add Load Tags command in the File menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 15:21:33 +00:00
Nick Treleaven
ca8153abf4 Keep tag names with different argument lists when loading global
tags.
Prevent segfault if using tm_workspace_find_scoped() with global
tags.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 15:20:56 +00:00
Nick Treleaven
4e0dd7fcca Use the usual TM parser for all langTypes except pascal, php, latex when loading global tags files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 15:20:11 +00:00
Nick Treleaven
14001ddc8f Split filetypes_get_from_filename() into filetypes_detect_from_file()
and filetypes_detect_from_filename().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 12:12:51 +00:00
Nick Treleaven
3fe147c4f1 Update Search section: escape sequences, Find All, Mark, Replace All.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1459 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 12:01:06 +00:00
Enrico Tröger
fc78e487df Small update of German translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1458 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-16 21:05:43 +00:00
Enrico Tröger
98c77bfa3d Oops.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1457 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-16 20:29:39 +00:00
Enrico Tröger
e331c40a54 Use g_stat() instead of stat() to prevent file read errors on Win32.
Prevent unnecessary filename encoding conversions on Win32.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1456 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-16 15:58:34 +00:00
Nick Treleaven
05164ab8ae Remove wrong UTF-8 conversion in filetypes_get_from_filename().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1455 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-16 11:10:22 +00:00
Enrico Tröger
c4ece8e758 Run print command asynchronously to prevent blocking of the main process (closes #1695786).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1454 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 19:25:22 +00:00
Enrico Tröger
398ddf6d73 Added context actions to run custom commands on current selection or the current word below cursor.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 18:09:59 +00:00
Nick Treleaven
1b715a59f6 Move 'Recurse in subfolders option' FIF option below the others.
Add tooltip for extra options entry.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1452 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 16:13:57 +00:00
Nick Treleaven
1545968ce3 Save FIF extra options string in the keyfile.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1451 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 15:59:57 +00:00
Nick Treleaven
2a3f6d00f7 Add tm_tag_function_t tags in global tags files, so that inline C++
methods (and D functions) get parsed.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1450 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 12:41:59 +00:00
Nick Treleaven
82a0f4dfb1 Allow overloaded argument lists in global tag files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1449 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 12:14:33 +00:00
Nick Treleaven
eb4a7b069d Prevent D module tag lookup for D constructor calltips.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1448 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 11:46:25 +00:00
Enrico Tröger
6e72477338 Fixed missing calltip display when using a space after a symbol name (thanks to Anh Phạm for reporting).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1447 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-13 16:51:48 +00:00
Nick Treleaven
e3aceea275 Show up and down arrows when there are multiple calltip matches.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-13 11:42:25 +00:00
Enrico Tröger
9643342e5d Fixed wrong default value.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1445 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-10 17:14:12 +00:00
Enrico Tröger
c84d9b2803 Added options to show or hide the statusbar as well as the editor scrollbars.
Added sci_set_scrollbar_mode() to easily show or hide the scrollbars.	  


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-10 17:06:57 +00:00
Enrico Tröger
dd7e84f33c Made "distcheck" working.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-08 16:38:46 +00:00
Nick Treleaven
c71204e370 Add Construct completion in the Editing section.
Add Tags section, including how to generate a replacement global.tags
file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-07 15:05:09 +00:00
Nick Treleaven
86f31c5147 Correct Stopping running processes section - only Run can be stopped. Use <emphasis> instead of <literal> for command names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-07 11:05:31 +00:00
Nick Treleaven
a5b7688694 Only insert a space if construct completion occurs, to prevent unusual undo history.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1440 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-06 10:49:51 +00:00
Nick Treleaven
369c7bb51c Make \" filename quoting optional when creating a global tags file
(quoting is useful if glob matching is needed). Run geany -g for
example usage.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-05 12:07:46 +00:00
Nick Treleaven
4e13a55645 Only construct-complete when the editor widget has focus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1438 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-05 11:53:52 +00:00
Nick Treleaven
4baeb619ac Add filtering out version control files with Extra options info to
Find in Files section.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1437 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-05 11:27:44 +00:00
Nick Treleaven
3bdadf9727 Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
tags when creating a global tags file, and store the pointerOrder.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-05 11:24:10 +00:00
Nick Treleaven
cfb073a2bf Add 'Extra options' field and checkbox to FIF dialog.
Don't allow arguments appended to Grep command.
Prevent warning when using relative paths with open directory button.
Refactor FIF options code into get_grep_options(), remove
fif_options, fif_match_type.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1435 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-03 15:57:12 +00:00
Nick Treleaven
b8d7e96375 Add recursive option to Find in Files dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1434 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-03 11:04:44 +00:00
Nick Treleaven
c0b36f4d01 Make file header optional for filetype templates - use the string
'{fileheader}' to mark where the file header should be placed, which
can be anywhere in the filetype template.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1433 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-31 11:39:56 +00:00
Nick Treleaven
68cdcc0e06 Prevent Find in Files directory combo being vertically stretched.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-30 16:34:51 +00:00
Nick Treleaven
f1f7401c24 Added MimeTypes: C++ header, Pascal, Perl, Python, httpd-PHP, XML;
thanks to Iñaki Rodriguez.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-30 11:25:53 +00:00
Enrico Tröger
e123af1c55 Fixed warning about shadowing a local variable.
Add keybinding for switching to the search bar (as suggested by Nikolas Arend).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-30 10:38:13 +00:00
Nick Treleaven
7dc7e55951 Add headings for the Keyboard Shortcuts dialog to group related
commands.
Shorten the 'Send to custom command' labels slightly.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-29 14:39:04 +00:00
Nick Treleaven
473afcc722 Check size of construct completion buffer, remove unneeded static in
sci_cb_auto_forif().
Reorder some of sci_cb_close_block().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-29 11:12:48 +00:00
Nick Treleaven
595626265a Don't auto-indent {} braces for filetypes that don't use them.
Add lexer_has_braces(), do_indent() for in place buffer indentation.
Rewrite some of get_indent().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-28 12:11:37 +00:00
Nick Treleaven
a52574c582 Add keybinding for construct completion, and set the default to tab.
Separate complete_constructs() code from sci_cb_auto_forif().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-27 15:48:16 +00:00
Nick Treleaven
62bcccd1ba Separate on_margin_click(), on_update_ui(), on_char_added()
Scintilla notifications.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-26 15:31:50 +00:00
Nick Treleaven
6daf4d84be Load HTML-entities when the PHP lexer is first needed, instead of
when typing outside of PHP styles.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-26 12:18:51 +00:00
Nick Treleaven
e7e2c6056e Change comment/uncomment keybinding to Ctrl-G/Ctrl-Shift-G.
Change duplicate KB to Ctrl-D (Scintilla default).
Change goto line KB to Ctrl-J (so Ctrl-L line cut Sci KB works).
Remove default goto matching brace KB (doesn't work on all
keyboards).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-26 12:13:04 +00:00
Enrico Tröger
b187533760 Use Ctrl+Shift+Space always for showing calltips because Alt+Space is used often by window managers (not only under Windows).
Added keybinding for inserting alternative whitespace characters.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1422 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-25 20:51:45 +00:00
Nick Treleaven
51b4f03a2d Don't beep when pressing escape to close the Find or Replace dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 16:27:19 +00:00
Nick Treleaven
a581744a05 Ignore Caps Lock in keybindings_got_event() (could cause problems
with e.g. Shift-F9).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 16:10:20 +00:00