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
Enrico Tröger
8b09a2935d
Improved replacing escape sequences in Find and Replace dialog (thanks to Stefan Oltmanns).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@586 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-19 11:30:59 +00:00
Enrico Tröger
c6c0cb816e
Fixed typo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@585 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-19 10:55:11 +00:00
Enrico Tröger
73a55f7ee2
Highlighting of current line can be disabled.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@584 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-19 09:45:56 +00:00
Enrico Tröger
0e4e014759
Compile notebook_motion_notify_event_cb() only with GTK 2.6 (again).
...
Made "built on" string translatable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@583 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 22:01:24 +00:00
Nick Treleaven
b9f6cf6987
Use more POSIX-like syntax for regular expression bracket matching; Prevent searching backwards with a regex (unsupported); Scroll in view after the last replacement for replace all/selection. Also move hiding the replace dialog out of document.c
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@582 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 17:43:22 +00:00
Nick Treleaven
5f05ba684a
Fix replacing the right length of text matched from a regex; Add support for back references when replacing with regex; Improve the speed of replace all/replace in selection; Don't lose the selection range after replacing in selection
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@581 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 14:09:01 +00:00
Enrico Tröger
cb006f8068
Restored original order of the encodings, kept the sorted order in the document menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@579 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 12:27:36 +00:00
Enrico Tröger
7bbccd884d
Added option to replace escape sequences in Find and Replace dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@578 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 10:48:51 +00:00
Nick Treleaven
6dd6175369
Moved external appendix elements to geany.docbook to validate ok
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@575 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-17 14:17:37 +00:00
Enrico Tröger
a037ad09b0
Added UTF-8 as default encoding.
...
Replaced xmlto command by xsltproc.
Added reference for the GPL appendix.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@574 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-17 12:33:10 +00:00
Enrico Tröger
6516c31a6a
Moved document related functions from utils.c to document.c.
...
Keep cursor position when replacing tabs by spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@572 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-17 10:42:26 +00:00
Enrico Tröger
6a9c283cb9
Moved HTML entities from sci_cb.h to data/html_entities.tags.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 22:02:31 +00:00
Enrico Tröger
77ef665218
Removed code for alternative scrolling(it was not better).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@570 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 21:31:09 +00:00
Enrico Tröger
f481b55f46
Added filename to an error message.
...
Removed function encodings_get_encodings().
Simplified locale detection and little speed up.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@569 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 19:28:13 +00:00
Enrico Tröger
8e2430ac8a
Added missing mnemonics to file menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@568 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 18:58:57 +00:00
Enrico Tröger
c9d7f1062a
Reordered encodings in the file menu, divided into subregions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@567 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 18:46:53 +00:00
Nick Treleaven
2032b6b7aa
Added Scintilla keyboard commands appendix taken from the SciTE documentation section 'Keyboard Commands'
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@566 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 15:33:14 +00:00
Nick Treleaven
4300a7496a
Fix applying vte settings on startup and prevent the message window vertical scrollbar being hidden
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@565 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-15 19:10:37 +00:00
Enrico Tröger
0a795b2d82
Toolbar items for file operations can also be hidden.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@564 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-15 18:15:30 +00:00