Enrico Tröger
ec2bce2f94
Fix broken auto multiline comment with files in CR/LF mode.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 13:11:29 +00:00
Enrico Tröger
b7bfb2743a
Replace all C++-style comments with usual C-like multi-line comments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 13:17:29 +00:00
Nick Treleaven
3714cf498f
Don't scroll the editor view if it is unnecessary when using Find
...
Next/Previous, Find Selected and when searching from the search bar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2274 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-22 13:30:16 +00:00
Enrico Tröger
22d96653da
Rename hidden pref auto_complete_whilst_editing to complete_snippets_whilst_editing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2269 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-21 15:51:50 +00:00
Enrico Tröger
85f73129c0
Apply patch from Daniel Richard G. to fix to fix several compiler warnings, C89 violations and minor code problems (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2267 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-20 11:24:23 +00:00
Enrico Tröger
e4edda0fa2
Allow using Find In Files dialog even if no files are open ( closes #1891818 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2250 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-12 12:04:21 +00:00
Enrico Tröger
e1edb51104
Add workaround for a Scintilla bug in HTML/PHP lexer which styles the last line of document wrong when in PHP mode.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2242 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-10 12:35:11 +00:00
Enrico Tröger
012622a209
Add two missing highlight styles to filetype Ruby.
...
Enable comment/uncomment for POD-like comments for filetypes Ruby and Perl.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2179 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-17 14:30:40 +00:00
Nick Treleaven
62c0ad1493
Fix hidden lines after deleting a line that is a collapsed fold
...
point.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2175 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 13:07:04 +00:00
Nick Treleaven
6eceb83d41
Make 'Open Selected File' first try the current file's directory,
...
falling back to the project base path if no file was found.
Add editor_get_default_selection() from get_default_text() in
search.c, to get the current selection or current word.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-14 17:30:59 +00:00
Enrico Tröger
bc180f0545
Don't add '>' when auto completing HTML tags when it's already there.
...
Fix wrong indentation when '{' and '}' are on the same line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 13:01:43 +00:00
Enrico Tröger
e3201062c6
Update copyright information and change format of email addresses in source files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-06 18:11:57 +00:00
Enrico Tröger
de8caa6055
Remove obsolete SVNdiff plugin, use the VC Diff plugin.
...
Add option for amount of characters to trigger symbol completion.
Add document_find_by_filename to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-01 17:53:36 +00:00
Enrico Tröger
fabc1c9940
Improve usage of "Unfold all children" option and add some basic documentation for folding support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-29 17:52:24 +00:00
Enrico Tröger
62b45d6326
Enable Shift+click on a fold point to unfold all possibly folded children (same as the pref "Unfold all children of a fold point").
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-22 17:48:59 +00:00
Enrico Tröger
b2141dd29d
Fix crash when trying to add a multiline comment in filetypes which don't support it.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-21 17:14:58 +00:00
Enrico Tröger
4b43e762d0
Rename "Contruct autocompletion" to "Snippets".
...
Allow changing height of the symbol completion list even if automatic symbol is disabled, it still can be forced by keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-12 09:27:43 +00:00
Enrico Tröger
b0109e93ca
Remove unused unnecessary function utils_btoa().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2034 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 12:46:43 +00:00
Nick Treleaven
c1205dc504
Use newline as autocompletion list separator, so that reST entries
...
show correctly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1995 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 12:56:12 +00:00
Enrico Tröger
00afcbcc86
Add special key wordchars to autocomplete.conf to let the user redefine used wordchars.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 19:55:21 +00:00
Nick Treleaven
5f688c6294
Apply patch from Catalin Marinas to add a 'newline strips trailing
...
spaces' pref (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1956 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 11:52:47 +00:00
Nick Treleaven
a2589f87fa
Add Indent Type option in the Document menu.
...
Add 'Detect from file' Editor indentation pref.
Show TAB or SP for current document's indent type.
Minor editing of Document menu and editor Indentation prefs group.
Use GString for statusbar statistics.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 12:27:07 +00:00
Nick Treleaven
8d193436de
Remove pos argument from sci_get_current_line(), because
...
sci_get_line_from_position() can be used instead and it's clearer.
Remove unused sci_get_line_end_styled() - it's also the same as
sci_get_line_from_position().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-25 16:44:33 +00:00
Nick Treleaven
5282ddbeb2
Fix bug with 'Delete lines' when cursor is at the start of a
...
multi-line selection.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-24 11:25:41 +00:00
Nick Treleaven
1c68618e6a
Undo r1891 so that 'Delete lines' again includes the cursor line
...
even when at the start of a line - like Cut/Copy lines do.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1894 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-22 11:11:24 +00:00
Nick Treleaven
f38fbd5418
Make 'Delete lines' not include an extra line when whole lines are
...
selected.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-21 16:37:19 +00:00
Nick Treleaven
001cc916b4
Allow autocompletion on a line with trailing whitespace.
...
Add auto_complete_whilst_editing hidden preference.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-12 12:08:07 +00:00
Enrico Tröger
97b8092329
Remove unwanted debug message.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-05 19:46:22 +00:00
Nick Treleaven
a4a871c945
Prevent calltip after typing '(' when in a comment or string.
...
Allow forced autocompletion in a comment or string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1844 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-30 15:11:33 +00:00
Nick Treleaven
5bb7a8ecd2
Add 'Current chars' indentation mode, rename 'Advanced' indentation
...
to 'Match braces' (closes #1726880 ).
For 'Match braces' indentation, if a brace could not be matched,
fall back to 'Current chars' indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1836 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-29 15:14:07 +00:00
Nick Treleaven
225e404db5
Fix wrong // comment spacing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-24 11:48:37 +00:00
Nick Treleaven
ef1399e000
Rename MyApp -> GeanyApp.
...
Move most GeanyApp fields into:
GeanyPrefs for (most) Preferences dialog fields;
UIPrefs for non-Prefs dialog visual settings;
UIWidgets for less commonly used widgets such as menuitems and
dialogs;
GeanyStatus for various states the application can be in.
Move some GeanyApp fields into EditorPrefs (and one into each of
CommandLineOptions and SidebarTreeviews).
Add plugin API prefs field.
Move disabling build widgets on Windows to build_init().
Make build callbacks static.
Add treeviews_init() to prepare popup menus and open files treeview.
Replace treeviews_find_node() with treeviews_select_openfiles_item().
Make utils_isbrace() and utils_is_opening_brace() take an
'include_angles' argument (to separate from editor_prefs).
Make 'Goto matching brace' keybinding include <> angle brackets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-23 11:34:06 +00:00
Nick Treleaven
9f46d083c5
Move #define PLAT_GTK to geany.h.
...
Move filetype typedef to geany.h.
Don't #include any src/*.h files from headers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 15:37:21 +00:00
Nick Treleaven
47935f3b6d
Make 'Delete current line' and 'Select current line' work for all
...
lines that have a selection.
Implement 'Copy current line'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-10 11:29:37 +00:00
Enrico Tröger
628331a85b
Rename editor_auto_forif() in editor_auto_complete().
...
Allow using auto completion in PHP files outside of the PHP tags, generally in comments, for news files without filetype and on non-empty lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1754 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 10:27:42 +00:00
Nick Treleaven
721bd8eaa4
Fix gcc warning, add comment for editor_scroll_to_line().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1720 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 12:16:07 +00:00
Enrico Tröger
34a760d549
Add keybinding for scroll to current line.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1719 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 16:27:49 +00:00
Enrico Tröger
f158ea71a1
Fix compiler warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1712 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 08:39:17 +00:00
Enrico Tröger
111f1f0032
Improve selection handling when decreasing indent by one space.
...
Avoid using SCI_DELETEBACK for simple text removal.
Fix a typo in is_doc_comment_char().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 08:09:15 +00:00
Enrico Tröger
3bcd10b0d8
Add keybindings for smart indent and indent/deindent by one space.
...
Fix possible selection errors on commenting multiple lines when using CR/LF line endings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1705 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 15:42:12 +00:00
Enrico Tröger
6cb765e374
Use again the usual, previous way of line scrolling and use SCI_SETXCARETPOLICY for horizontal scrolling.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1696 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 17:16:44 +00:00
Enrico Tröger
bc2c3fddf1
Experimental change of scrolling to get horizontal scrolling working.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1691 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 17:05:13 +00:00
Enrico Tröger
fcd0af79af
Always show calltip for PHP files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1681 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 13:16:26 +00:00
Enrico Tröger
4e38d0f823
Use an extra space after comment toggle mark.
...
Also comment blank lines when using toggle comment.
Also comment already commented lines when using toggle comment.
Fix some selection issues when using toggle comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1678 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 17:12:50 +00:00
Enrico Tröger
7b99a9f325
Add keybinding for Select, Transpose, Cut, Copy and Delete line.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1674 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 15:12:13 +00:00
Enrico Tröger
1a4fc52ec5
Include new line character(s) when selecting a paragraph.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1673 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 14:19:06 +00:00
Enrico Tröger
a707774d52
Add keybinding for select current paragraph.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-06 10:16:51 +00:00
Enrico Tröger
1db1865319
Change comment toggle shortcut to Ctrl-E, undefine shortcuts for comment/uncomment.
...
Improve some selection issues when using comment/uncomment.
Improve comment toggling by adding an additional character to mark.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-05 18:19:56 +00:00
Enrico Tröger
6069531e78
Fix focus problem when using the Find dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 17:08:53 +00:00
Enrico Tröger
693649f955
Add new filetypes CSharp and FreeBasic.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1635 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-22 17:34:31 +00:00