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
Enrico Tröger
d8c06b041d
Small changes to get cross compiling using mingw32 suite working.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@631 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 17:45:34 +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
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
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
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
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
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
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
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
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
Nick Treleaven
d97a1b476b
Use locale encoding for Find in files and remember previous searches.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@557 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-14 16:58:25 +00:00
Nick Treleaven
1c8d62ed5d
Added basic Find in files search functionality.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-13 14:30:44 +00:00
Enrico Tröger
100987ee91
Improved toolbar popup menu.
...
Added new preferences tab for toolbar settings, several toolbar buttons can be hidden.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@548 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 14:15:56 +00:00
Enrico Tröger
a1bca612ae
Added "Replace in all open files" option in the replace dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@546 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-10 16:46:29 +00:00
Enrico Tröger
0f061ee31a
Improved behaviour of toggle sidebar after a restart. Introduced new flag sidebar_visible, renamed configuration keys.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@538 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-07 14:34:43 +00:00
Nick Treleaven
6ddd449683
Add Make object command to compile the current file. Added some separators and renamed Build with make items
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-05 15:09:20 +00:00
Enrico Tröger
086aeb4c4c
Added option to disable the VTE follows path feature.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@527 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 18:34:03 +00:00
Enrico Tröger
b28e30b389
Improved "Find usage", so it displays not "null" for unsaved files in the results, and unsaved file are also clickable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@524 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 11:32:06 +00:00
Nick Treleaven
c1068c02c2
For Find Usage, ignore unnamed files (prevents a NULL filename GLib warning)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@523 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 11:21:31 +00:00
Nick Treleaven
cee4ebf37c
Fix a segfault on Go to tag defn/decl if no files have tags. Add utils_find_tm_tag
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@516 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 13:16:52 +00:00
Nick Treleaven
e1f43a4db0
Prevent a segfault if the VTE has not been loaded
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@514 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 10:44:15 +00:00
Enrico Tröger
22ab86a40b
Added "Select All" menu item.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 13:42:53 +00:00
Enrico Tröger
df49ea7888
Finally fixed the second call of the switch_page callback.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@509 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 12:56:09 +00:00
Enrico Tröger
1451d8f72d
Change the path in the VTE widget when switching between files according to the path of the current file.
...
Process the switch_page callback only once.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@508 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 23:51:32 +00:00
Enrico Tröger
3366665030
Create a new tm_source_file object if a file is renamed, otherwise tagmanager won't work correctly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 19:08:21 +00:00
Enrico Tröger
b3dd894a5e
Implemented simple printing support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:14:52 +00:00
Nick Treleaven
42a206085e
Apply fonts in Preferences when they are set and only if they have changed. Rename utils_set_font to utils_set_editor_font. Remove an old comment in document_open_file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 16:55:29 +00:00
Enrico Tröger
852624b60e
Renamed tools settings from build_* in tools_*.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 14:00:09 +00:00
Enrico Tröger
99bb4a9977
Parse stdout of compiler output too.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:29:33 +00:00
Enrico Tröger
f741c89b4f
Fixed bug which prevented tag creation for the first opened file.
...
Removed unused code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@491 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 17:44:18 +00:00
Nick Treleaven
8e5e2ec065
Add clipboard functionality for Scribble widget
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@485 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 20:18:24 +00:00
Nick Treleaven
d4405d5856
Add clipboard functionality for find and go to line widgets
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@484 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 19:57:07 +00:00
Enrico Tröger
4a8efb4d80
Remember the active page when toggling the sidebar. Simplified code for toggling messages window.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@482 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 17:02:27 +00:00
Nick Treleaven
efe658834e
Enable drag reordering of tabs for GTK+2.8, and a temporary workaround for GTK+2.6. Add notebook_new_tab and update document_create_new_sci to use it; also remove on_tab_close_clicked
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 12:13:35 +00:00
Enrico Tröger
378d614885
Added some sanity checks to prevent crashes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@477 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:46:08 +00:00
Enrico Tröger
b66243f1e1
Reorganised C include file items, added C++ headers.
...
Insert include statements and comment templates at mouse pointer position instead of cursor position.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-22 14:29:55 +00:00
Nick Treleaven
13b673d8ed
Go back to the same line when reloading. Fix start selection bug when clicking in the current file if it has changed
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@468 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-20 11:55:34 +00:00
Enrico Tröger
2b362ef8a7
Implemented encoding support to switch between different encodings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@467 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 18:31:17 +00:00
Nick Treleaven
a59a4ae006
Don't open files or go to errors automatically whilst compiling. Rename utils_goto_workspace_tag to utils_goto_file_line
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 13:27:09 +00:00
Nick Treleaven
f8c92268f7
Use correct current_word buffer for popup menu item keybindings; also use GEANY_MAX_WORD_LENGTH
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 20:21:19 +00:00
Nick Treleaven
e885f520ed
Don't include keybindings.h in geany.h
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@452 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 19:58:26 +00:00
Nick Treleaven
6010e5bf13
Cache the current function name for efficiency in utils_get_current_function, other related fixes
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@451 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 17:11:09 +00:00
Nick Treleaven
3b559efbdb
Execute: only save file if the run command uses it
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@449 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 13:15:28 +00:00
Enrico Tröger
9c77b56d2a
Implemented code for setting indicators while compiling.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-13 20:03:44 +00:00
Enrico Tröger
e8cb22a8d7
Improved the handling of GIOChannels(for named pipes), ensure they are closed in a proper way.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-11 19:03:39 +00:00