1809 Commits

Author SHA1 Message Date
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
Nick Treleaven
3e494fa3f5 Fix segfault (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1704 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 14:49:48 +00:00
Nick Treleaven
a4728116bc Use Rename button instead of checkbox for Save As dialog.
Add tooltips for Save As dialog's other options.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1703 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 14:42:36 +00:00
Nick Treleaven
3ecd31d9fd Add ui_table_add_row() for easily adding widgets to a GtkTable, and
use it in project_new().
Group 'generic' functions related to GTK+ together at the top of
ui_utils.h.
Make sure G_GNUC_NULL_TERMINATED is defined in geany.h.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1702 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 15:54:16 +00:00
Nick Treleaven
5ec03cdc0a Make Class Builder 'Create Class' dialog use Glade-style frames and
remove some unnecessary border width.
Add ui->dialog_vbox_new() and ui->frame_new_with_alignment()
functions to the plugin API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1701 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 14:54:11 +00:00
Nick Treleaven
0529b13442 Remove init_function_pointers(), use static initializers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1700 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 11:22:47 +00:00
Nick Treleaven
9db2a589c5 If -i, --new-instance options are passed, disable loading & saving of
session files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 11:07:35 +00:00
Nick Treleaven
80e0695bd8 Prevent warning when closing files when Geany is busy (e.g. pressing
Ctrl-W when opening files).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-13 10:46:11 +00:00
Enrico Tröger
7f1dd7dacc Add shebang-like detection for PHP files starting with "<?php".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1697 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 18:07:49 +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
Nick Treleaven
8743d2f994 Apply patch from Jeff Pohlmeyer to add a preference for whether to
use 'smart' home key behaviour (thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 15:44:13 +00:00
Nick Treleaven
8fe0974d8a Capitalize some dialog titles.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 11:59:13 +00:00
Nick Treleaven
55402bbfa6 Make Escape close the 'Grab Key' dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1693 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 11:56:17 +00:00
Enrico Tröger
9ff36c9a18 Also change background colour of search bar when using find next/previous after using the search bar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1692 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 17:44:43 +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
Nick Treleaven
2a809a5c42 Rearrange some of the Prefs dialog:
Add Indentation frame on Editor tab, with tab width setting.
Add Display tab for visual editor settings.
Move Files tab below Editor tab (not needed so often).
Add frame for toolbar page.
Change some spacing to multiples of 3 (Gnome HIG recommends multiples
of 6).
Minor reordering of some checkbox groups.
Add mnemonic for Keybindings 'Change' button.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1690 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 16:08:03 +00:00
Enrico Tröger
2719f6d146 Apply patch from Shiv to make build system more compatible with other compilers than gcc.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1689 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 15:27:57 +00:00
Nick Treleaven
8dbbe603c9 Add custom wordchars and whitespace_chars support for Python & Ruby.
Group setting lexer, wordchars, autocompletion height together in
apply_filetype_properties().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1688 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 15:01:24 +00:00
Enrico Tröger
8528f95e82 Change the background colour of the search bar in the toolbar according to the search result.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 17:33:31 +00:00
Enrico Tröger
34e0036c10 Focus the editor widget after switching between files with the open files list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1686 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 16:01:23 +00:00
Enrico Tröger
6146162d5f Fix wrong default value (thanks John).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 15:35:25 +00:00
Enrico Tröger
287711caf4 Use CTags SVN version of PHP parser.
Use only supported symbol types in the symbol view for PHP.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 15:11:18 +00:00
Enrico Tröger
a63323142c Use Ctrl-B for Goto matching brace.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1683 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 13:53:27 +00:00
Enrico Tröger
fe74823881 Use a TreeView for keybinding list in the preferences dialog and add descriptive sections for better usability.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1682 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 13:48:41 +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
f7d95e736e Change name of XML filetype to "XML document".
Add sub menus to "Set Filetype" menu.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1680 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 12:46:16 +00:00
Enrico Tröger
17a6f764a4 Fix missing descriptive text in message box when closing an unsaved file on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-08 14:55:37 +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
Nick Treleaven
7dc4a314c0 Move Context Action command to Tools tab, group with Print command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 16:30:44 +00:00
Nick Treleaven
8fc2269868 Add decorator (and word2) styling for Python.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 15:39:25 +00:00
Enrico Tröger
7a18268a19 Change default shortcut for Find Next/Previous to Ctrl-G and Ctrl-Shift-G.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1675 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 15:24:17 +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
Nick Treleaven
6657b7983b Make Scintilla's move to word commands use the word end boundaries
when moving to the right (like e.g. GtkEntry).
Treat punctuation chars as whitespace.
Add filetypes.common setting: whitespace_chars.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1672 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-07 11:33:32 +00:00
Enrico Tröger
4e774e083f Use the default GTK file save dialog on Windows. Prevent some (probably) unnecessary filename encoding conversions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1671 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-06 12:37:07 +00:00
Enrico Tröger
599aba3769 Fix wrong REVISION value.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1670 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-06 10:19:28 +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
4d769f61b0 Fix usage of wrong dialog pointer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1667 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-05 15:44:08 +00:00
Nick Treleaven
f409bca515 Capitalize first letter of command-line argument descriptions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1666 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-05 12:28:24 +00:00
Nick Treleaven
fb16ea2b96 Add -p, --no-plugins options to disable plugin support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1665 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-05 12:15:54 +00:00
Enrico Tröger
52f3ba3499 Use a unique mutex name on Windows to be able to load multiple instances like on non-Windows systems.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1664 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 17:42:01 +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
f90fc4f005 Change Help shortcut to F1, use Ctrl-H for Replace.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1662 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 14:41:58 +00:00
Nick Treleaven
e84ef634c8 Create /tags directory if it doesn't exist when loading
global tags.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 12:07:57 +00:00
Nick Treleaven
90d529f289 Make Class Builder dialog close when pressing escape.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1660 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 12:04:46 +00:00
Nick Treleaven
451c5b0e7e Make Class Builder into a plugin.
Add some function pointers to the plugin API (for the class builder).
Don't use G_MODULE_BIND_LAZY when loading plugins otherwise we can
potentially get unresolved symbols at runtime, causing a segfault.
Capitalize 2 menu item labels.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1659 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 11:32:33 +00:00
Nick Treleaven
66bdb5d9fb Add comment for utils_free_pointers() warning not to use it if any
pointers may be NULL.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1658 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 11:14:05 +00:00
Enrico Tröger
17e8b418b9 Fix crash when trying to open the Save As dialog on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1657 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-02 18:37:17 +00:00
Enrico Tröger
f651b49c18 Parse also sections in configuration files.
Allow whitespace in keys and section names.
Remove unused LexConf.cxx.
Highlight also space separated key value pairs.		 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-02 17:09:48 +00:00