821 Commits

Author SHA1 Message Date
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
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
Nick Treleaven
6575d4f953 Move dialogs_show_includes_arguments_*() to build.c.
Move on_includes_arguments_*dialog_response() to build.c.
Make several build functions static.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 12:40:20 +00:00
Nick Treleaven
8ba7ffe9e6 Fix segfault when pressing ctrl-enter when there are no workspace
tags (thanks to R8Rooy for reporting).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 12:10:43 +00:00
Nick Treleaven
b05c0a7f0e Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:47:27 +00:00
Nick Treleaven
7ae070145b Move dialogs_show_keyboard_shortcuts() to keybindings.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:34:54 +00:00
Nick Treleaven
eb8834d5bb Add Edit button to Keyboard Shortcuts dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:03:52 +00:00
Enrico Tröger
94a1b00fe2 Applied patch from Anh Phạm to add a keybinding for selecting the current word under the cursor (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1413 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-22 15:51:39 +00:00
Nick Treleaven
8464538201 Separate alternative PHP/LaTeX global tags parser into
tm_tag_init_from_file_alt() (for easier diff with Anjuta).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-21 16:27:25 +00:00
Nick Treleaven
d3dfe1dd1d Add option --generate-tags (-g) to generate a global tags file from
a list of source files. Currently this is only likely to work
correctly for C-like source files. Run 'geany -g' for syntax info.
Remove short option for hidden option --generate-data-files.
Update tm_workspace_create_global_tags() from Anjuta 1.2.4a.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-21 13:26:16 +00:00
Nick Treleaven
7bae6fb632 Made all project dialogs modal.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1409 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-21 11:54:35 +00:00
Enrico Tröger
637d862881 Added option to change the caret width.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1408 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-20 18:15:07 +00:00
Nick Treleaven
d5afa7bb4c Add bookmarks section written by John Gabriele (thanks).
Group some subsections into an 'Editing' section.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1400 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-15 16:21:12 +00:00
Nick Treleaven
0a88e35c31 Add Toggle Marker keybinding (Ctrl-M).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1398 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-15 13:14:04 +00:00
Nick Treleaven
3293150f92 Add Goto Previous/Next Marker keybindings (Ctrl-, and Ctrl-.).
Make sci_marker_next() and sci_marker_previous() return marker line
number.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1397 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-15 12:52:16 +00:00
Nick Treleaven
6ee3e658cf Make suggested New Project filename use the projects/ directory as
parent directory, instead of projects/name/.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1395 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-14 12:36:59 +00:00
Nick Treleaven
638af6cd6d Don't recreate the open files items when DnD reordering tabs, now
that the open files treeview is sorted alphabetically.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1394 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-14 12:11:50 +00:00
Nick Treleaven
f1302af228 Delay updating interface items when switching notebook tabs until
after the page has changed, so it appears to switch pages faster.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-14 12:03:15 +00:00
Enrico Tröger
ff25b2770c Init the default styles before first usage.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1392 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-13 17:39:09 +00:00
Enrico Tröger
fe40f61740 Fixed wrong margin colours for filetype All/None.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1391 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-13 17:08:13 +00:00
Nick Treleaven
20115f6f54 Add 'Switch to last used document' keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-13 17:00:12 +00:00
Nick Treleaven
5f0889407f Count total replacements made when replacing in a rectangular
selection.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1389 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-13 15:40:59 +00:00
Nick Treleaven
4b03559bd7 Use tab stops for status bar line, column and selection data to stop
the other fields being moved so often when browsing code or typing.
Rearrange status bar statistics to be clearer/more concise.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1388 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-13 11:32:57 +00:00
Nick Treleaven
a81ab1c4cf Update the status bar after setting the document file type, if it
has changed.
Update the status bar after colourising open files, so the current
tag is accurate.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1386 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-12 16:24:52 +00:00
Enrico Tröger
ccc26cc314 Added description for disable-server command line option for Xfce Terminal.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-12 16:12:42 +00:00
Nick Treleaven
467b31c874 Switch to Compiler window when using Next Error command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1383 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-12 12:13:45 +00:00
Nick Treleaven
82836d4c7d Make New Project dialog create parent directories of the chosen base
path if necessary.
Prevent warnings when setting open dialog directory to a path whose
parent directory doesn't exist.
Add create_parent_dirs argument for utils_mkdir().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-10 17:26:03 +00:00
Nick Treleaven
c231cae3d6 Separate New Project dialog from Project Properties dialog.
Make Properties Filename field read-only, below Name field.
Capitalize dialog titles.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-10 12:27:55 +00:00
Enrico Tröger
0b84fced12 Added style "default" to filetypes.common to be able to change the default style for files without a filetype set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-09 18:14:34 +00:00