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
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
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
1b0b22a210
Use real length of data instead of -1.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@576 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-17 19:24:35 +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
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
Nick Treleaven
58efd38deb
Don't include SciLexer.h in geany.h
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-04 21:31:08 +00:00
Enrico Tröger
424bfd32ca
Added shortcut for Select All.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@517 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 14:12:05 +00:00
Enrico Tröger
7c9d6df76e
Improved settings for the long line marker, it can now be easily disabled or set to highlight the background of too long lines.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 14:28:32 +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
5ffa222e4f
Fixed a small typo.
...
Skip converting from UTF-8 in UTF-8 when saving.
Show an error messages dialog if the conversion into an encoding failed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@501 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-28 19:27:19 +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
Enrico Tröger
2269d3d47e
Reload also the symbol list when reloading a file.
...
Changed some titles to plural. Added own definitions for filetype Python.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@489 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:19:28 +00:00
Nick Treleaven
add773c88c
Fix a possible segfault on quitting caused by processing GTK messages before status messages
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@487 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 15:49:07 +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
3a435bf29e
Replaced 'blank' by 'include "..."'. Fixed a bug in utils_brace_match() which prevents correctly matching.
...
Made auto completion work only for the current filetype (i.e. it hides symbols from other filetypes).
Removed unneeded code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 14:36:35 +00:00
Enrico Tröger
f375a6be68
Added missing shortcut for "Close".
...
Added option in the preferences dialog to replace tabs by spaces when saving a file.
Added option for default encoding for new files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-21 18:54:07 +00:00
Nick Treleaven
e6caa033eb
Also show status messages on the status bar
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@469 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-20 14:54:09 +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
Enrico Tröger
73384bb248
Implemented code for setting indicators while compiling.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-13 19:37:21 +00:00
Enrico Tröger
c4125cf12f
document_open_file() returns the index of the opened file.
...
Open or switch to files when clicking on compiler error messages and the error message mentions another file than the opened one.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@434 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-11 22:39:11 +00:00
Enrico Tröger
886b90f3d0
Fixed a segfault in document_find_by_filename().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-11 14:08:10 +00:00
Nick Treleaven
79b4256758
Fix bug with Go to tag defn/decl when the filename is a link (TagManager dereferences linked filenames)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-07 21:24:15 +00:00
Enrico Tröger
9446020898
fixed wrong setting of filetype when using "All files" as filetype
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@410 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-05 15:10:40 +00:00
Nick Treleaven
e5f238c232
Scroll session files in view after all resizing of the Scintilla widget and rename sci_scroll_to_line
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-30 18:03:19 +00:00
Nick Treleaven
2c8e69a1a7
Fix incremental find and replace of back to back matches
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@368 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-26 17:11:41 +00:00
Nick Treleaven
42e71c36cf
Make Replace in selection non-incremental and use single Undo blocks for this and for Replace All
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@364 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-25 15:32:03 +00:00
Nick Treleaven
fc1023a97a
On loading use SCI_SETTEXT instead of SCI_ADDTEXT to avoid Scintilla text changed signal
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@363 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-25 12:57:12 +00:00
Enrico Tröger
40690fc5d6
fixed a crash when clicking on the run button and no file is opened
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@345 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 19:49:17 +00:00
Enrico Tröger
d47e10998f
make keyboard shortcuts user-definable
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@342 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 17:18:06 +00:00
Enrico Tröger
dec031b3b5
fixed compiler warning, removed obsolete and commented code
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@340 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-17 18:29:29 +00:00
Enrico Tröger
a1baf148c0
enabled autocompletion for all filetypes, removed mmap()-code, fixed memory leak
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@336 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-16 19:06:08 +00:00
Enrico Tröger
6db843b072
added commandline option to use an alternate way to draw the text, could improve scrolling, has to be tested
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@323 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-11 23:01:50 +00:00
Enrico Tröger
7a6efd0667
improved tag list updating, should be a bit faster on opening files
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@322 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-10 23:06:47 +00:00
Enrico Tröger
2be53d0f07
added template support for filetypes with comment character #, updated GPL to the current address of the FSF
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@318 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-10 19:54:44 +00:00
Enrico Tröger
0c69a417f5
fixed a strange segfault at creating new file tabs
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@313 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-09 22:02:22 +00:00
Enrico Tröger
7822807104
try to fix a strange segfault reported by a user (non-reproducible for me)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-08 01:57:25 +00:00
Enrico Tröger
c4f42d45b3
fixed some inconsistency with the read only check box in the file menu
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@286 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-28 15:06:39 +00:00
Enrico Tröger
002503decd
several bugfixes and improvements
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@281 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 18:06:35 +00:00
Enrico Tröger
1b1f74a30c
applied patch from Nick, changed initial value of doc_list[].mtime
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@239 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-10 00:52:09 +00:00
Enrico Tröger
6409cf8926
implemented folding
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-26 18:19:28 +00:00
Enrico Tröger
899f660195
improved opneing files under Win32
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@207 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-20 22:57:59 +00:00
Enrico Tröger
213f368c13
removed some items from the document menu to the preferences dialog, removed file save dialog from interface.c to dialogs.c, added toggle for line numbers, added command line option -p or --no-pipe to ignore a running instance of Geany and force opening a new instance
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-14 22:07:55 +00:00
Enrico Tröger
dc4a72b969
improved filename handling on saving files, improved behaviour of HOME/END keys on wrapped lines, smaller changes
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@187 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-10 20:56:17 +00:00
Enrico Tröger
ef55cbf3ca
improved filename handling in document_open_file(), fixed a crash at reloading files
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-06 06:26:53 +00:00
Enrico Tröger
62ff8ef794
fixed some bugs when opening files with non UTF-8 filenames
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@148 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-23 17:05:29 +00:00