112 Commits

Author SHA1 Message Date
Nick Treleaven
35b3b5895a Make Shift+Mouse wheel scroll the editor view horizontally
(#2410732).
Add function sci_scroll_columns().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3363 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 17:18:06 +00:00
Nick Treleaven
89fce6dd26 Add an interface pref for whether to hide additional widgets when
double-clicking on document notebook tabs (off by default).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3359 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 16:29:54 +00:00
Enrico Tröger
428b93da88 Add new toolbar elements: Close All and Preferences.
The icon for Close All was kindly provided by Tyler Mulligan, thanks.
Remove GeanyStockItem and add ui_new_pixbuf_from_stock() as a replacement.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 20:31:38 +00:00
Enrico Tröger
8ed9710f48 Rewrite of the whole toolbar code. Now it is based on GtkActions and all elements can be added/removed/reordered using a simple XML file.
Add GeanyMenubuttonAction and GeanyEntryAction as GtkAction subclasses to have menu buttons and text entries in the toolbar.
Change the Goto line toolbar item back to a plain text entry again.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-06 11:10:06 +00:00
Nick Treleaven
3cf49dba55 Make VTE emulation pref hidden, because libvte only comes with an
xterm termcaps file and the GUI pref can be confusing.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3300 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-01 14:39:26 +00:00
Enrico Tröger
3a8883a46d Add Python to the list of filetypes with default global tags files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3295 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-29 18:34:30 +00:00
Nick Treleaven
a95ccfa4ec Update tips for Alt/Ctrl + mouse wheel scrolling in the editor.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3282 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-26 16:43:14 +00:00
Enrico Tröger
5f6790f38e Fix some typos.
Add note about the encoding box in the Find in Files dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3247 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 17:46:24 +00:00
Enrico Tröger
d7caf0f9c0 Follow XDG Base Directory specification and use $XDG_CONFIG_HOME/geany (most often this is ~/.config/geany) as default configuration directory (closes #2166229).
The previous configuration will be moved to the new location if the new directory doesn't exist yet.
Move utils_make_settings_dir() into main.c.
Remove win32_get_appdata_folder() because g_get_user_config_dir() does the same.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 14:37:47 +00:00
Enrico Tröger
98cf47a6a8 When using custom file templates, add the extension of the template file to the filename of the new document.
Make {datetime} wildcard generally available for most template types.
Allow use of most available wildcards for custom file templates, too.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3202 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 18:27:23 +00:00
Nick Treleaven
1f1cbd4523 Make Ctrl-click go to matching brace if there's no current word.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-08 13:14:09 +00:00
Enrico Tröger
c90b262434 Update docs for changed rectangular selection usage since Geany 0.15.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3158 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-27 19:17:00 +00:00
Enrico Tröger
0324ed71f6 Add *_full variants of editor indicator functions to the plugin API for more control over indicators.
Add/Update some API docs.
Make the 'Mark' button for Find highlight the results with rounded boxes instead of marking the whole line.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:57:00 +00:00
Enrico Tröger
d3ee6f48ca Add toolbar buttons for Cut, Copy, Paste and Delete (#2161750).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3147 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 20:55:55 +00:00
Enrico Tröger
de54e72ecb Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3129 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-19 13:52:12 +00:00
Enrico Tröger
37796886ea Update for 0.15.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3126 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-19 10:12:58 +00:00
Enrico Tröger
540b35e8e7 Update images for documentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3125 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-19 09:57:31 +00:00
Nick Treleaven
9b42adaa65 Update for missing documentation since 0.14.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-16 16:43:36 +00:00
Enrico Tröger
737c7a6d76 Add an option to store the project file of new projects inside the project base directory.
Doc: Add descriptions for the Search tab in the preferences dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 15:09:33 +00:00
Enrico Tröger
75d46bff7e Merge InstantSave, AutoSave and BackupCopy plugins into the plugin 'Save Actions'.
Add a section for documentation of internal plugins in the documentation.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3035 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 13:37:35 +00:00
Nick Treleaven
9b6e4c02a2 Remove use of non-greedy matching in error_regex - this doesn't seem
to be supported by common versions of glibc (thanks to AC for
reporting).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 12:13:45 +00:00
Enrico Tröger
71dbd0f2d6 Make 'Previous/Next word part' keybindings configurable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 18:29:42 +00:00
Nick Treleaven
01f4689ef6 Minor formatting changes - make the using a Makefile paragraph a
note.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2995 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 11:38:58 +00:00
Nick Treleaven
ea42918879 Detect which error regex match contains the line number, and use the
other match for the filename.
Update 'Build system' docs for custom error regexes.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 11:30:44 +00:00
Nick Treleaven
bf3ea6c5f0 Add filetypes.* [build_settings] key 'error_regex' to support custom
error message parsing using an extended regular expression.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2988 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 16:12:40 +00:00
Nick Treleaven
5dde790601 Add 'Tab key indents' pref, which replaces hidden pref
'use_tab_to_indent'; it's now on by default.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 12:43:41 +00:00
Nick Treleaven
a8a0002950 Edit 'About Geany' text to be more concise.
A few minor fixes.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 17:01:38 +00:00
Nick Treleaven
771d40cadd Update feature list in About Geany section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 16:14:51 +00:00
Nick Treleaven
ddfb591f0b s/auto detect/auto-detect.
Minor formatting fixes.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-15 13:03:05 +00:00
Enrico Tröger
cc3ea8f437 Update feature list.
Small updates of outdated information.
Remove 'Supported Systems' sub section.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2927 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-08 14:26:20 +00:00
Enrico Tröger
89ac2e8766 Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2925 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-08 14:24:03 +00:00
Enrico Tröger
266cbed6ff Add 'Stop scroll at last line' editor pref (patch by Timothy Boronczyk, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2918 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 11:18:06 +00:00
Enrico Tröger
f101e95aab New website address: www.geany.org.
Merge README.I18N with latest from the wiki.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2917 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 11:15:16 +00:00
Nick Treleaven
6f60b4bc2c Add 'Max. symbol name suggestions' autocompletion pref.
Edit some autocompletion pref strings.
Remove some trailing commas in array initializers (oops).
Move GEANY_TOGGLE_MARK, GEANY_MAX_AUTOCOMPLETE_WORDS to keyfile.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-29 17:00:02 +00:00
Nick Treleaven
7fafa7b39c Separate runtime requirements and build requirements subsections.
Mention that usually building GTK manually is not necessary.
Run 'make install' as root.
Add some subsection titles.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-29 12:33:44 +00:00
Nick Treleaven
0371bb7853 Change hidden pref scroll_stop_at_last_line to TRUE (#2030914).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2910 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 16:41:02 +00:00
Nick Treleaven
57ff84b183 Make Ctrl-click on a word perform Go to Tag Definition (this
shouldn't conflict with column editing as this uses
Ctrl-Shift-click).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-14 16:39:51 +00:00
Enrico Tröger
af7e8526c8 Add middle-click document closing to the Tips and Tricks appendix.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 18:36:56 +00:00
Nick Treleaven
45b65ee7fd Regenerate geany.html (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2881 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 16:50:09 +00:00
Nick Treleaven
7b1c98cf68 Add Tips and Tricks appendix.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2880 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 16:35:49 +00:00
Enrico Tröger
866f8fbefe Add a preference for the comment toggle mark string("~ " by default).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-27 18:41:07 +00:00
Enrico Tröger
ccd2186f6a Add preferences for year, date and datetime format of the corresponding template wildcards to make them more flexible.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2775 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-13 11:51:00 +00:00
Enrico Tröger
d3adc32c19 Add support to use template wildcards in snippets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-13 10:52:38 +00:00
Nick Treleaven
3157ab8420 Split Preferences dialog Editor tab into a sub-notebook, with
Features, Completions and Display pages. This also reduces the
minimum height of the Preferences dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-24 14:32:54 +00:00
Enrico Tröger
4ded2fe4b0 Add keybindings for Line wrapping, Line breaking, Toggle fold and Replace Spaces by tabs.
Refactor different document keybindings callback functions into cb_func_document_action().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-19 15:58:10 +00:00
Enrico Tröger
46feb9df7d Fix two ambiguous encoding names for better compatibility with libiconv (closes #1986134).
Improve the regular expression for detecting encoding cookies to allow more variants (e.g. "encoding: utf-8").

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2659 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 12:18:20 +00:00
Enrico Tröger
7583e5e3db Add media types for screen and print to have a clean version of the manual for printing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2622 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-28 15:35:27 +00:00
Enrico Tröger
629fc70a35 Allow loading projects from command line (closes #1961083).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-18 16:27:08 +00:00
Enrico Tröger
392d1f863f Add preferences for default end of line characters for new files (closes #1895362) and to disable the automatic continuation of multi-line comments in C-like languages.
Enable multi-line continuation also for CSS files.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2580 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-14 15:36:27 +00:00
Nick Treleaven
bd92df27f5 Add support for custom file templates found at startup in the
~/.geany/templates/files directory. These are currently shown
underneath filetype templates in the New with Template menu.
Add ui_menu_item_get_text().
Make utils_string_replace_all() ignore empty haystacks.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2575 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-13 17:18:14 +00:00