42 Commits

Author SHA1 Message Date
Nick Treleaven
dd7441c97c Applied patch from Jens Granseuer to fix build with gcc 2.95 (closes #1539502)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@713 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-14 10:35:57 +00:00
Enrico Tröger
e35efa87b3 Fixed segfault when try to (un)comment some code and no filetype is set(reported by John Gabriele).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@697 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 18:16:28 +00:00
Nick Treleaven
d55bc577f7 Use common on_new_line_added for CR or LF added
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@667 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-03 14:08:10 +00:00
Nick Treleaven
c6fa1febba Wrap calltip and prevent it obscuring the current line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@666 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-03 13:27:30 +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
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
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
f21e623e27 Show auto completion list immediately when called by a keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@562 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-15 12:38:45 +00:00
Enrico Tröger
a1da3923df Added return value and tag name to the calltip.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@550 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 17:44:42 +00:00
Enrico Tröger
3539ab4038 Autocompletion only works on blank lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@545 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-10 16:02:17 +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
805bdf9675 Added function is_opening_brace().
Use is_opening_brace() for better handling of calltips.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@506 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 18:22:11 +00:00
Enrico Tröger
3284ca94e3 Fixed a crash when auto completion or call tips are used if no filetype was set. Added some sanity checks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 20:43:04 +00:00
Enrico Tröger
3188cf2d56 Fixed broken auto completion for switch().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@488 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:17:57 +00:00
Enrico Tröger
01ace30125 Removed URL highlighting code(useless feature, never was enabled).
Set policy settings for the scolledwindow.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@476 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:43:56 +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
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
8c510a56df Fix empty white box glitch with tag autocompletion, also improves typing response efficiency
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-05 22:04:50 +00:00
Enrico Tröger
2d213b1f3e Fixed bug in auto completion of constructs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-03 15:05:41 +00:00
Nick Treleaven
74b7f7dfbb fix a segfault when commenting out lines with ctrl-d when no filetype is set
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-20 16:47:07 +00:00
Enrico Tröger
d5fb7376b7 fixed small bug in sci_cb_show_calltip
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@341 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 16:52:09 +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
38fbfedde9 added try-catch-auto completion
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@302 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-05 16:04:15 +00:00
Enrico Tröger
bafe0bb28b fixed small bug when dragging files into Geany
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@295 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-30 15:13:13 +00:00
Enrico Tröger
f8af6b4297 bugfixes, several improvements
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@277 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 18:00:00 +00:00
Enrico Tröger
7f44228903 typing } on lines longer than 256 chars caused a crash
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@254 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-17 02:25:39 +00:00
Enrico Tröger
c9e08b8a0c added currently disabled auto completion for LaTeX
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@237 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-10 00:49:19 +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
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
f0e0e31203 improved sci_cb_do_comment() to handle SQL, OMS and Caml comments,
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@180 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-10 20:43:30 +00:00
Enrico Tröger
6e2c511e20 (hopefully) fixed a bug with auto indention and CR/LF line endings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@156 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-26 21:33:45 +00:00
Enrico Tröger
384f43d811 fixed new auto indention, fixed also an older bug when typing } on the last line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@143 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-17 17:38:44 +00:00
Enrico Tröger
864ce050c5 improved auto indention, now "for (...) {" works, too
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@142 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-16 18:28:50 +00:00
Enrico Tröger
d84ca7ae3d added CTRL+D commentation for filetype Conf
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@113 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-09 17:56:50 +00:00
Enrico Tröger
8ecce6ed72 added new option "Beep on errors" to disable beeping
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-03 12:39:25 +00:00
Enrico Tröger
5deab2b6e5 improved usage of config.h and cleaned some header files from unneeded includes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@89 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-29 19:50:50 +00:00
Enrico Tröger
767cce068d set cursor position between brackets in sci_cb_auto_close_bracket()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@71 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-20 17:49:25 +00:00
Enrico Tröger
3a2d560fdc added sci_cb_auto_close_bracket() to close { and [ brackets in LaTex-Mode (more could be added)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@55 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-13 22:06:12 +00:00
Enrico Tröger
62a10a5694 added new file Assembler
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@34 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-05 20:50:46 +00:00
Enrico Tröger
623ab0957a fixed a small bug by auto closing }-brackets
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@29 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-30 23:43:56 +00:00
Enrico Tröger
7975a35f39 fixed missing / in table completion and fixed unmeant auto completion in HTML while writing CDATA
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@8 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-22 22:50:10 +00:00
Enrico Tröger
8cb2cf0997 Initial import
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-22 12:26:26 +00:00