Enrico Tröger
9ecabc20f0
Use REM as single comment marker for Batch files
...
REM seems to be the standard comment marker while "::" is rather
deprecated.
Closes #1912 .
2018-08-26 12:48:17 +02:00
Miro Hrončok
3182ed5e03
Update Python identifiers with Python 3.7
...
Fixes https://github.com/geany/geany/issues/1351
2018-07-06 22:16:44 +02:00
FMuro
af15898823
Fix boldface and italics ( #1837 )
...
Before, **boldface** or *italics* (also _italics_) would not generally show as that, definitely not with the default color scheme. After this change, they appear with the same color as normal text but with that typography, in all color schemes.
2018-05-05 20:36:08 +02:00
Colomban Wendling
bd22fef060
CSS: Update Grid properties
...
See:
* https://www.w3.org/TR/css3-grid/#property-index
* https://drafts.csswg.org/css-grid/#property-index
* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout#CSS_properties
Closes #1705 .
2017-12-03 10:53:30 -08:00
elextr
dd58ab6f49
Make Python comment hash space ( #1682 )
2017-11-09 12:54:36 +01:00
klaxian
e0dd1ee109
Added missing PHP keywords, especially for PHP 7.x. ( #1547 )
2017-07-21 16:02:56 +10:00
Colomban Wendling
8b25d09978
Cython: Inherit lexer properties from the Python filetype
2017-07-19 22:08:24 -07:00
Colomban Wendling
c03af5b434
Python: Remove obsolete lexer property
2017-07-19 22:08:19 -07:00
Colomban Wendling
b2b81359c3
Python: Don't highlight sub-identifiers as keywords
...
For example, highlight `file` as a builtin when appearing by itself,
but not in a construct like `obj.file`.
Fixes #1542 .
2017-07-15 21:03:53 -07:00
Vasiliy Faronov
7027377998
Update HTML keywords ( #1530 )
...
* Add newly standardized HTML elements to filetypes.html
To enable highlighting them as keywords in HTML documents, add
the following elements defined in W3C HTML 5.1
(https://www.w3.org/TR/html51/fullindex.html#index-elements ):
- menuitem
- picture
- rb
- rtc
- template
as well as the following elements defined in WHATWG HTML Living Standard
(https://html.spec.whatwg.org/multipage/indices.html#elements-3 ):
- math
- slot
- svg
* Add newly standardized HTML attributes to filetypes.html
To enable highlighting them as keywords in HTML documents, add
30 attributes defined in W3C HTML 5.1
(https://www.w3.org/TR/html51/fullindex.html#attributes-table )
and a further 15 attributes defined in the WHATWG HTML Living Standard
(https://html.spec.whatwg.org/multipage/indices.html#attributes-3 ).
* Sort the list of HTML keywords
2017-07-12 09:44:53 +10:00
Yan Pashkovsky
4406ccf970
Cmake and Csharp Keywords ( #1315 )
...
* cmake cs keywords
* cs and cmake keywords update
c sharp keywords https://msdn.microsoft.com/en-us/library/x53a06bb.aspx
* reviewed cmake keywords
reviewed cmake keywords according to https://cmake.org/cmake/help/v3.0/manual/cmake-commands.7.html
* public private interface
* cmake alphabetical kws
* comments
2017-06-27 17:15:30 +10:00
Giorgioggì
fbe6106216
Fix comment/uncomment keyboard shortcut for Arduino filetype ( #1510 )
2017-06-23 18:52:43 +02:00
Colomban Wendling
8425371477
Haxe: Update keywords ( #1216 )
...
Update keywords with https://haxe.org/manual/expression.html#keywords .
`trace` is kept although it's not a keyword, because it was already
there and http://try.haxe.org/ highlights it identically to some other
keywords.
2017-05-02 13:46:28 +10:00
Jacob H. Pratt
9f4407ca29
Add require_relative
in ruby syntax highlighting ( #1472 )
2017-04-29 11:20:38 +10:00
A. Tombs
33762f5225
Add parfor to Matlab keyword list ( #1021 )
...
Add parfor to Matlab keyword list
Add `parfor` to the list of keywords to be highlighted in Matlab script sources. `parfor` is a Matlab keyword that can be used in place of `for` to achieve parallel processing.
2017-03-22 10:06:47 +10:00
Colomban Wendling
93f273428a
Update for new Scintilla styles
2017-02-21 14:16:56 +01:00
Colomban Wendling
00a3aef94d
Merge pull request #1361 from Akronix/keywords-js.filetypes
...
Updated filetypes.javascript keywords
2017-01-23 14:10:45 +01:00
Abel 'Akronix' Serrano Juste
c6984699d3
Removed 'alert' from secondary keywords since it depends on a DOM environment
2017-01-14 21:26:36 +01:00
Abel 'Akronix' Serrano Juste
c328051382
Some adjustmenys in javascript keywords: Deleted 'each' from secondary keywords
2017-01-11 23:18:38 +01:00
Abel 'Akronix' Serrano Juste
6fad4c017c
Updated js keywords with ES6
2017-01-11 23:05:05 +01:00
Colomban Wendling
9fdb014b07
javascript: Partial highlighting of ES6 template strings
...
This doesn't support nested templates or escaped `es, but at least
handles the most obvious cases for now.
Part of #934 .
2016-12-18 17:38:37 +01:00
SukkoPera
21b37f553f
Add Arduino custom filetype
...
Closes #1339
2016-12-16 02:55:35 -08:00
Colomban Wendling
ae114e263c
Merge pull request #1185 from b4n/error-indic-color
...
Allow to configure the error indicator color
2016-10-29 15:15:43 +02:00
Colomban Wendling
bee3806d47
Allow to configure the error indicator color
...
Related to #1116 .
2016-10-24 12:27:59 +02:00
Colomban Wendling
c9d0bd7214
Inherit C lexer_properties in all filetypes inheriting C styles
...
`lexer.cpp.track.preprocessor` lexer properties affects which styles
are used, and we don't set those, so no filetype inheriting C styles
should set it to 1.
Similarly, some properties like `styling.within.preprocessor` are
mostly general settings rather than selecting syntax details, so they
should probably match in all filetypes for consistency.
So, inherit the C lexer_properties everywhere C styles are used, and
only override specific properties in the inheriting filetype.
2016-09-06 12:18:48 +02:00
Colomban Wendling
bbdf56fc2e
Haxe: Do not track preprocessor for styling
...
We don't set the styles for inactive preprocessor sections, so we
should make sure they aren't used. Also, Haxe has different
preprocessor directives than C does, which confuses LexCPP tracking
anyway.
Fixes #936 .
2016-09-06 11:35:11 +02:00
Colomban Wendling
09796ef727
Remove SciTE properties from filetype definitions
...
Those are SciTE-specific things that Scintilla itself never used,
and that were simply erroneously imported into Geany.
2016-09-06 11:08:52 +02:00
Colomban Wendling
87ab6052bd
CSS: Add missing :last-child
pseudo-class
...
Fixes #1102 .
2016-07-01 01:52:05 +02:00
Colomban Wendling
e328434a1f
Merge pull request #980 from cjmayo/ecma_classes
...
javascript: Add ECMAScript 6 classes keywords
2016-06-08 23:54:39 +02:00
elextr
b81f41ce32
Merge pull request #1024 from Yanpas/java-review
...
Reviewed java keywords
2016-05-14 19:36:24 +10:00
Alexander
6b608974c0
Fix Haskell single line comments by adding space
...
Haskell single line comments consist of at least two dashes "--",
not followed by special symbol.
So in practice everywhere in code you will see a space following "--".
Reference: Haskell 2010 Language Report -> Chapter 2 -> Lexical Structure
2016-05-06 02:15:51 +04:00
Yan Pashkovsky
175d987305
Reviewed java
2016-05-04 16:21:13 +03:00
Chris Mayo
3dda6180ce
javascript: Add support for ECMAScript 6 classes keywords
...
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes
http://www.ecma-international.org/ecma-262/6.0/#sec-keywords
http://www.ecma-international.org/ecma-262/6.0/#sec-constructor
2016-03-28 19:40:37 +01:00
Jiří Techet
e513e5a099
Move filetypes.* to the filedefs directory
2016-03-13 17:35:08 +01:00