103 Commits

Author SHA1 Message Date
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
e07a1a8387 Add keybindings for Find Usage, Go to definition/declaration, based on the current cursor position. Also ensure null termination in utils_find_current_word
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@456 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 21:08:47 +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
Enrico Tröger
2a09ed0ea7 Fixed a bug at opening files when clicking on compiler error messages(thanks Yura Semashko).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-15 12:57:07 +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
ef3deeb742 Improved and finished switching between files when clicking on compiler error messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-13 15:49:19 +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
43bc6843bb Fixed an issue, which let the build menu item insensitive once a new file w/o template was opened.
Replaced "/" by G_DIR_SEPARATOR_S.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-11 11:13:14 +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
d56c26cd48 corrected readme text for filedefs/filetypes.README
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@396 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 21:07:16 +00:00
Nick Treleaven
58d7e51ff9 Undo all changes in r393 (oops)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@394 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 20:01:57 +00:00
Nick Treleaven
11ffdebfc7 Fix a segfault with missing id in element
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 19:47:53 +00:00
Enrico Tröger
7a158f8508 added some sanity checks if filetype is NULL
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 14:04:59 +00:00
Enrico Tröger
5b308c0550 Fixed a wrong(non ISO-C) array size allocation, improved utils_replace_tabs()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-30 15:29:21 +00:00
Enrico Tröger
9e29121809 made recent files menu item insensitive when the list is empty
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-28 22:14:17 +00:00
Nick Treleaven
684e8cb32b check if file has been closed in utils_goto_workspace_tag
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-23 14:21:37 +00:00
Enrico Tröger
db7f89ca65 improved toggle visibility of sidebar when toggled by keyboard
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 13:43:56 +00:00
Enrico Tröger
573679601b applied sanity check and bugfix patch from Pierre(posted on mailing list)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 11:55:07 +00:00
Nick Treleaven
20047f7dab fix a segfault clicking on a compile error if the compiled file has been closed
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@348 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-20 20:03:34 +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
ca803bc2c0 added code for creation of filedefs subdirectory
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@343 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 17:19:12 +00:00
Enrico Tröger
df1b9fd010 new filetype Tcl/Tk, renamed tex.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@335 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-16 19:04:04 +00:00
Enrico Tröger
f5a9d78fcc added previously code to prevent opening of non-text files, fixed detection of C++-destructors and other improvements in utils_get_current_tag()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-15 19:44:09 +00:00
Enrico Tröger
10e4754b27 added code for parsing python error messages when clicked in compiler message window
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-12 16:11:14 +00:00
Enrico Tröger
ae4b9e248a moved my_strtod() from win32.c to utils.c, use it always, not only on Win32 systems
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-05 16:07:40 +00:00
Enrico Tröger
9934ab866b added small check for NULL pointer to avoid crashes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@284 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-28 15:04:14 +00:00
Enrico Tröger
238a0ffb6f some changes, bugfixes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@275 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 17:58:52 +00:00
Enrico Tröger
dc422fb745 added error messages to utils_write_file()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@259 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-22 18:14:25 +00:00
Enrico Tröger
60dcfa3895 changed signature for utils_check_disk_status() and improved it, so it should work independet from the host time
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@238 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-10 00:50:27 +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
e8886e1af4 made "make" build menu items sensitive for C header files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-25 22:26:43 +00:00
Enrico Tröger
77d7a8141a added utils_make_human_readable_str()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@213 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-22 13:41:50 +00:00
Enrico Tröger
ff0a0f01e0 replaced the New toolbar button by a menu button, so it works also under Win32
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-20 22:30:35 +00:00
Enrico Tröger
6dd78834f2 added toggle for line numbers
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-14 22:10:25 +00:00
Enrico Tröger
a232d7e15d fixed a memory leaks
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@181 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-10 20:45:25 +00:00
Enrico Tröger
6efc4327b0 added filetype to the status bar, improved filename handling at reloading files, added utils_beep()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-06 06:34:06 +00:00
Enrico Tröger
6f6f33c14a added encoding to the status bar, fixed a freeze with C++ files (closes #1419473)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@161 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-01 20:20:24 +00:00
Enrico Tröger
37ade08346 small format changes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@157 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-27 19:09:08 +00:00
Enrico Tröger
9fe2718a33 set the Open File dialog directory to the same directory as the current file (thanks to Nick Treleaven for this patch)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-26 21:32:46 +00:00
Enrico Tröger
7506c4ea33 removed temporary inline code, some code beautifications
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-23 17:10:01 +00:00
Enrico Tröger
43388b2a63 added category class to the symbol list
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@139 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-16 17:46:28 +00:00
Enrico Tröger
3da8d929c3 removed unneeded utils_get_new_sci_number(), some bugfixes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-14 22:42:44 +00:00
Enrico Tröger
9266f022d2 minor changes, added basic build support for LaTeX
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@122 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-11 18:44:52 +00:00
Enrico Tröger
da5ad6f7f8 improved usage of config.h and cleaned some header files from unneeded includes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@92 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-29 20:01:18 +00:00
Enrico Tröger
595f1666b8 added utils_treeviews_showhide(), to get the right settings at startup for the left side treeviews, fixed bug in utils_strpos() which returned -1 if length needle is 1
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@81 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-28 15:41:44 +00:00
Enrico Tröger
e7e279e24b made the symbol list document-oriented, so it has not to be generated on every notebook switch page event
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@65 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-18 22:08:42 +00:00
Enrico Tröger
95cc44a19c utils_write_file() now gives back errno instead of boolean
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@52 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-12 16:19:30 +00:00
Enrico Tröger
f61e996256 made length of MRU list changeable and improved error handling at creation of the configuration directory
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@50 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-12 02:24:49 +00:00