Nick Treleaven
7365ae3c9c
Colourise C enum, union and D/Java interface typenames.
...
Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a lexer
supports typename colouring.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-16 17:18:53 +00:00
Nick Treleaven
5eb6cb7bc2
Show D typedefs in bold.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 12:40:18 +00:00
Enrico Tröger
574d3d3b7e
Added new scintilla lexer for D. It needs testing and there is more work to do to get it working properly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1058 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 15:47:00 +00:00
Nick Treleaven
96cc367ecc
Move C/C++ styling_within_preprocessor code out of C-like styles.
...
Use styleset_c_like() when applying C-like Scintilla styles.
Synchronize gsd_reserved_word, gsd_system_word and data/filetypes.d
with styles in data/filetypes.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-04 14:57:06 +00:00
Enrico Tröger
4469c37c42
Added new style for doc keyword error and added some doc key words for Doxygen and Javadoc.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-03 22:11:42 +00:00
Enrico Tröger
12868db176
Use the same style for unknown doc keywords (/** @something */) as for known keywords.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1042 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-02 18:13:42 +00:00
Nick Treleaven
4cbe4f4170
Only use [a-zA-Z0-9] chars for default wordchars, to avoid problems
...
with word matching when using Find & Replace functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 11:42:10 +00:00
Enrico Tröger
9b7569e3ef
Added new filetype VHDL.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 22:11:19 +00:00
Enrico Tröger
6330277845
Changed commentdoc(used for javadoc and Doxygen, /** */) colour to a light blue.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-09 19:02:18 +00:00
Nick Treleaven
67ce2f51b0
Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
...
static.
Move symbols_get_global_keywords() to get_global_typenames() in
highlighting.c.
Add symbols_find_tags_as_string(), symbols_get_tag_list(),
symbols_get_macro_list(), symbols_find_in_workspace() from various
tag-related existing code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 11:42:05 +00:00
Enrico Tröger
491288aec2
Added an option to draw an horizontal line above or below folded text.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 18:53:39 +00:00
Enrico Tröger
84fc71ef56
Added Java keywords true and false.
...
Converted "NULL" to lower case.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@970 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-06 20:56:18 +00:00
Enrico Tröger
dd47b2bf62
Applied patch from Bob Doan to do not set keywords for XML documents(thanks).
...
Made styleset_markup() static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 22:38:11 +00:00
Nick Treleaven
6ff4464f9c
Make all remaining 0xff0000 comment styles darker using a common
...
default comment style.
Add some other generic styles (used only by C-like filetypes for
now).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-02 15:32:27 +00:00
Nick Treleaven
17bbfa3644
Add filetypes_get_conf_extension() and use in highlighting.c.
...
Fix a memory leak in load_keyfiles().
Group C-like default syntax in init_c_like_styleset().
Make C-like comment colour darker; make globalclass brighter to
distinguish it from word colour.
Make Java use same default syntax highlighting colours as C.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-27 11:30:23 +00:00
Nick Treleaven
72f287fe0f
Move geany_debug prototype to geany.h so that all files can use it
...
without a dependency on main.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:16:54 +00:00
Enrico Tröger
3564dffe56
Fixed several highlighting errors, added new styles: identifier2, important and id.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@880 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-10 17:28:12 +00:00
Enrico Tröger
b2c6eeab4b
Added some new keywords for filetype Ferite.
...
Added auto completion for iferr construct for filetype Ferite.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@872 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-08 15:52:31 +00:00
Enrico Tröger
87493e9481
Changed foreground colour for LaTeX sytle "math" to differentiate it from the "comment" style.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@870 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-06 23:40:58 +00:00
Enrico Tröger
cfb71b3657
Added keyword "until".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@864 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-03 13:45:30 +00:00
Nick Treleaven
762f4b5c91
Move global tags code to symbols.c.
...
Added symbols_global_tags_loaded(), symbols_get_global_keywords().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-02 11:31:54 +00:00
Nick Treleaven
e721ae69b0
Changed StyleSet struct to use Style array, which can use less
...
memory. Added separate struct for the common style set. Also
use a struct for tracking the loaded global tags files. Renamed
some static functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@854 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-30 11:13:58 +00:00
Nick Treleaven
4525dd227d
Only override the default Scintilla selection style if foreground
...
and/or background flags are set in filetypes.common.
Also increase the current line background brightness.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@841 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-27 15:08:46 +00:00
Enrico Tröger
3b9a342452
Fixed a typo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@809 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-11 07:39:37 +00:00
Enrico Tröger
b1b4a4e157
Split filetype PHP/HTML into PHP and HTML.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-01 17:07:49 +00:00
Enrico Tröger
010d6581e5
Added new filetypes Diff and Ferite.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@765 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-27 17:39:34 +00:00
Frank Lanitz
f64b88c855
Adding of autocompletion for PASCAL; Update of data/latex.tags
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@758 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-23 14:30:15 +00:00
Nick Treleaven
0bd427bd05
Remove filetypes.h and Scintilla includes from geany.h; Add VALID_DOC_IDX macro
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 20:39:59 +00:00
Enrico Tröger
d79e82f633
Moved prototype for geany_debug() to main.h.
...
Moved declaration of document struct to document.h.
Keep selection when commenting and uncommenting code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 15:47:18 +00:00
Enrico Tröger
8d581d1552
Added new filetype Fortran 77 (not yet finished).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 17:57:41 +00:00
Enrico Tröger
2e62262320
Removed key "default" for filetype common completely.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@718 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 11:44:23 +00:00
Enrico Tröger
f8b96977ed
Use the filetype's default style(SCE_*_DEFAULT) as the main default style(STYLE_DEFAULT).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@717 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 11:38:38 +00:00
Enrico Tröger
e87b87b015
Added colour values for indentation guides and white space.
...
Made hard coded SCI_AUTOCSETMAXHEIGHT changeable and added an option in the preferences dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@712 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 15:04:30 +00:00
Nick Treleaven
7d8637f549
Fixed all sign comparison warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-08 13:01:50 +00:00
Nick Treleaven
2cfd077f10
Fix loading Perl, TCL system config files first
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@673 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-05 12:33:15 +00:00
Nick Treleaven
51f4486876
Removed setting tab width preference, instead it is set in document_apply_update_prefs
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@665 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-03 09:38:22 +00:00
Enrico Tröger
ddd9300a72
Added style to change the colour of the caret( closes #1530486 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@652 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-30 16:02:21 +00:00
Enrico Tröger
31c17438cb
Removed unused colour parsing functions.
...
Let the colour chooser pick the colour under the cursor.
Fixed bug in parsing strings containing hex values, modified the styles to keep the syntax highlighting consistent.
Removed startup warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 20:57:13 +00:00
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
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
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
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
b3b50b4182
Fixed autocompletion for filetype C++.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@553 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-14 10:15:12 +00:00
Enrico Tröger
6cc29173be
Added new filetype D(patch by Christop Berg, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@544 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-09 14:41:53 +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
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
570793a6ef
Added global auto completion tags for PHP and LaTeX.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@475 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 14:42:56 +00:00
Nick Treleaven
6aad889e3c
Fixed styling for unmatched braces
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@454 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 16:08:20 +00:00
Enrico Tröger
6f864d888d
build.c: Delete all indicators when starting a new compilation.
...
highlighting.c: Added keys for linenumber and folding margin, added key for inverting all colours(if you like dark background).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@450 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 14:28:53 +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