272 Commits

Author SHA1 Message Date
Enrico Tröger
53d91a4c55 Fixed wrong behaviour of Save As on unchanged files.
Don't set file as changed when changing encoding to the same one.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-02 10:50:53 +00:00
Nick Treleaven
a591dd027f Add hidden option -g to generate filetype_extensions.conf
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 21:07:46 +00:00
Nick Treleaven
794ad69ad1 Add Make pattern to recognise makefile*
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@660 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 20:07:58 +00:00
Nick Treleaven
595ebb6670 Install a system filetype_extensions.conf which can be overridden
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@659 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 16:12:45 +00:00
Nick Treleaven
db4cf9e59f Apply the tab width setting for new documents
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@658 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 13:24:58 +00:00
Nick Treleaven
088a2ca529 Clear search flags when using the find toolbar entry; Removed some unnecessary static variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@657 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 11:33:42 +00:00
Enrico Tröger
2a30d0abe3 Added some menu items to the edit menu for editing tasks.
Added keyboard shortcuts for increase/decrease of line indentation (closes #1521717).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:35:32 +00:00
Nick Treleaven
8e2b19b48c Change default for removing trailing spaces to off
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@655 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:30:56 +00:00
Nick Treleaven
35003deb31 Added Auto indentation and Line wrapping options to Preferences dialog; Split up Miscellaneous items into Display and Features; Renamed Change Selection and Run toolbutton.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@654 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:06:28 +00:00
Enrico Tröger
74e1d66c13 Added functionality to uncomment code and added keyboard shortcut Ctrl+Shift+D for this (closes #1521714).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@653 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-31 09:39:33 +00:00
Enrico Tröger
ddd9300a72 Added style to change the colour of the caret(closes #1530486).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@652 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-30 16:02:21 +00:00
Nick Treleaven
8116c173e6 Add win32 build files to EXTRA_DIST
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@651 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-29 12:17:30 +00:00
Nick Treleaven
35a1df7ffc Remember Find in files directory for opening grep results
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@650 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-29 12:06:00 +00:00
Enrico Tröger
85af83f6ae Added some options to the Find in files dialog, made search directory editable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@647 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-28 18:37:32 +00:00
Nick Treleaven
6cb83f8af0 Add makefiles for building on win32
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@646 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-28 12:29:10 +00:00
Enrico Tröger
d561c70125 Let the colour chooser pick the colour under the cursor(Win32 code). Added some sanity checks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@643 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 23:17:31 +00:00
Enrico Tröger
689ee4243b Added Select All item to sensitive buttons.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@642 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 22:52:11 +00:00
Enrico Tröger
31c17438cb Removed unused colour parsing functions.
Let the colour chooser pick the colour under the cursor.
Fixed bug in parsing strings containing hex values, modified the styles to keep the syntax highlighting consistent.
Removed startup warning.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 20:57:13 +00:00
Nick Treleaven
a2385fe52e Only replace untitled.x within the first 2 lines
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@640 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 17:10:35 +00:00
Enrico Tröger
4e122c97b7 Removed macro GEANY_WIN32, use G_OS_WIN32 instead.
Introduced global variables for PACKAGE_DATA_DIR and  PACKAGE_LOCALE_DIR, removed macro DOCDIR (these changes are important for the Windows port).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 17:02:16 +00:00
Nick Treleaven
05cebe9931 Disable the Compiler tab instead of hiding it so that messages window tabs have the right index on switching
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@638 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 14:29:30 +00:00
Enrico Tröger
e1c4e5ac80 Applied patch to fix building with gcc 2.95, removed unneeded file from EXTRA_DIST.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@632 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 18:09:08 +00:00
Enrico Tröger
ac34496500 Fixed broken Find usage.
Put "No matches" message also in the message window.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@630 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 13:14:51 +00:00
Enrico Tröger
902379738b Removed some unneeded functions to avoid duplicate code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@629 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 12:46:08 +00:00
Enrico Tröger
8d06fef254 Reordered the filetypes (just a cosmetic change).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@627 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 10:13:35 +00:00
Enrico Tröger
a7361b6464 Save default encoding for new files as charset string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@626 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 09:12:51 +00:00
Enrico Tröger
1511e7563e Set CR/LF as EOL mode on new files on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@624 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 00:10:36 +00:00
Enrico Tröger
7569b71749 -Convert Unicode strings to wide characters to avoid weird display.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@622 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 23:56:50 +00:00
Nick Treleaven
6bebea40d4 Wait for Save as dialog to run before closing tab
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@621 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 21:18:06 +00:00
Enrico Tröger
e1f79b7d3e Added menu item to the document menu to add/remove BOM.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@620 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 20:23:56 +00:00
Nick Treleaven
088880208b Change 2 paths to use G_DIR_SEPARATOR_S
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@619 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 19:56:37 +00:00
Enrico Tröger
d28a007bbf Fixed some cross compiling/Win32 issues.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@617 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 18:05:40 +00:00
Nick Treleaven
c67bd70d53 Use tab reorder workaround only if GTK runtime <2.8
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@615 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 17:30:08 +00:00
Nick Treleaven
c45b6c6b24 Use generic font names & increase the default size
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@614 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 17:27:30 +00:00
Enrico Tröger
2ca139c24c Let Find usage search for the current selection if there is one.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@613 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-23 20:26:57 +00:00
Enrico Tröger
ab05f39d24 Renamed document element unicode_bom in has_bom.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@611 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-23 15:45:05 +00:00
Enrico Tröger
5a97fb2d0e Fixed some mistakes from last commit.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@610 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-23 13:14:23 +00:00
Enrico Tröger
f3d72d6e33 Search terminal program in PATH (closes #1527203).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-23 08:34:51 +00:00
Nick Treleaven
063c703225 Fix a warning when updating open files treeview.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@608 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 19:27:12 +00:00
Nick Treleaven
e389341f6c Make Find and Replace dialogs more compact
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@607 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 19:11:58 +00:00
Enrico Tröger
285cda8924 Keep the list of open files in sync when reordering notebook tabs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@606 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 14:36:20 +00:00
Enrico Tröger
b56ea420b1 Added *.cfg as extension for config files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@604 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 13:52:07 +00:00
Enrico Tröger
fed621e445 Fixed two issues when showing / hiding the sidebar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@603 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 11:09:48 +00:00
Enrico Tröger
4ec2bd121b Added Unicode BOM detection.
Added "Reload as" menu item to force opening a file with a specified encoding(both were patches from Stefan Oltmanns).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@600 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 01:29:10 +00:00
Nick Treleaven
b625529c8b Prevent using Find in files for unnamed files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@599 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-21 19:35:33 +00:00
Enrico Tröger
978a6fee93 Added menu item View->Show Sidebar and improved code around it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-21 11:41:33 +00:00
Nick Treleaven
96a4a059df Added Find button to Replace dialog to skip a match; Change Replace button to find first & use current selection; Ask whether to wraparound when replacing and no next match is found
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@597 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-20 21:19:18 +00:00
Enrico Tröger
bc452b21ed Unset fold.compact setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@593 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-20 18:18:05 +00:00
Nick Treleaven
c417607f27 Share find/replace common checkbox setup code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@591 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-20 14:52:26 +00:00
Nick Treleaven
0576bf920a Commented out some keys not working
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@590 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-20 14:02:51 +00:00