1056 Commits

Author SHA1 Message Date
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
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
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
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
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
Enrico Tröger
b737d4b963 Improve many mnemonics in the Search, Find in Files and Replace dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1654 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-29 16:01:40 +00:00
Enrico Tröger
96b14c8c3d Re-add previously removed code to fix broken calltips.
Merge some minor bugfixes to C/C++ parser from CTags SVN and remove compiler warning.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1653 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-29 15:42:37 +00:00
Enrico Tröger
6f4b4c4fa7 Set also previous colour when setting the colour for the dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1652 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-29 14:32:21 +00:00
Nick Treleaven
9f471c5bec Fix hang with Find All/Usage with regex '^' or '$'.
Fix replacing '^' or '$' regexes.
Use double quotes for search strings.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1650 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-28 16:00:29 +00:00
Enrico Tröger
541bd309a6 Change signature of sci_replace_sel() to take a const gchar*.
Move code to insert a colour to document.c
Let the code also work on Windows (untested).	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1649 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-27 19:36:43 +00:00
Enrico Tröger
b0e08ccc05 Replace existing selection with chosen colour.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1648 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-27 19:07:03 +00:00
Enrico Tröger
bba1acbbb9 Add palette to Colour Chooser Dialog.
Fix picking colours starting with '#'.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1647 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-27 18:43:23 +00:00
Nick Treleaven
a549a99c33 Move plugin name and description into a separate struct, which is set
by calling the PLUGIN_INFO() macro - this can be read before the
plugin is initialized.
Added more comments for plugin authors.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1645 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-27 15:56:42 +00:00
Enrico Tröger
fcb06167b4 Change label of GTK check in configure.in from PACKAGE to GTK (only cosmetic).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1644 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-26 18:08:00 +00:00
Nick Treleaven
6e53eacc70 Added very basic plugin support - any plugins found in
/lib/geany are loaded at startup. Windows support will be
added later.
Added Demo plugin (currently installed by default), which adds an
item in the Tools menu.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1643 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-26 16:17:16 +00:00
Enrico Tröger
bb74e0f35c Change file encoding from ISO-8859-1 to UTF-8 (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1642 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-26 15:42:55 +00:00
Enrico Tröger
80918e9f03 Add option to set a default encoding when opening files and disable auto detection of the file encoding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-26 15:41:27 +00:00
Enrico Tröger
22c3dd033b Use setlocale to enable translation of strings before GLib command line parser gets active.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1640 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-25 17:49:45 +00:00
Enrico Tröger
8a3eb871ce Fix wrong working directory in generated shortcuts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-24 13:58:30 +00:00
Enrico Tröger
c29e8c126b Apply patch from Gabor Kmetyko to improve wording (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1637 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-23 16:52:23 +00:00
Enrico Tröger
f8c4a48497 Merge recent changes from CTags SVN.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1636 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-23 16:49:15 +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
Nick Treleaven
51418fb982 Prevent segfault when using Goto Tag from an untitled file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1633 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-20 12:42:06 +00:00
Nick Treleaven
3f69767f4b Hopefully fix gtk_widget_set_sensitive assertion failed warning on
Windows.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1632 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-19 17:11:46 +00:00
Nick Treleaven
1e41e97499 Added 'About this file' and links for some Windows developer tools.
Added notes on adding a source file to src/ and brief notes on adding
a filetype.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1631 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-19 16:50:33 +00:00
Enrico Tröger
dede8715a2 Fix mem leak in auto completion and prevent completion of words with trailing spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1630 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-18 13:22:15 +00:00