Daniel Kolesa
13ddc5dbc1
eolian: rename @warn_unused and its associated API
...
@warn_unused in syntax is now called @no_unused - this is because
"warning about unused" is a C thing (or rather, an extension to C)
and various languages might want to use stricter behavior for this.
Its associated API does the reverse now - it lets you query whether
being unused is allowed at all. This is to match future behavior
of Eolian (once it supports versioning) that will likely reverse it.
@feature
2019-05-26 17:41:22 +02:00
Daniel Kolesa
d0fed247bb
eolian: remove param @nonull
...
This has been deprecated for a while and is not strictly necessary
- as a part of an effort to stabilize Eolian, remove this. Eolian
will eventually gain support for versioning and use a reversed
behavior (i.e. no NULL by default), but the API it wlll use for
that will be very different. Features can always be added, it's
much harder to drop them.
@feature
2019-05-26 17:25:15 +02:00
Alastair Poole
fb58e4a35e
elm_code: Make sure we handle python3 mime type.
...
Summary:
Let's not miss python3 mimetype when setting up
syntax highlighting.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7000
2018-09-11 12:22:43 +01:00
Andy Williams
767c211e70
Add missing continue keyword from Go definition
2018-05-15 14:49:04 +01:00
Andy Williams
95b0d7ca68
elm_code: Add basic scope parsing to syntax highlighting.
...
This is currently displayed by showing scope in the widget gutter
2017-11-14 19:12:56 +00:00
Al Poole
42484606d0
elm_code: add support for go syntax.
2017-11-11 13:23:12 +00:00
Andy Williams
624b960155
elm_code: Trying some markdown syntax, this is complex
2017-11-03 21:05:08 +00:00
Andy Williams
2b3e462858
elm_code: Trying some markdown syntax, this is complex
2017-11-03 21:03:58 +00:00
Cedric Bail
5a8181b3ee
elementary: generic_value is to be replaced by any_value.
2017-10-17 10:51:05 -07:00
Cedric Bail
699a97875a
elementary: update code highlighting to follow eolian syntax change.
2017-10-04 11:32:09 -07:00
Andy Williams
ada147da71
elm_code: Fix number parsing to include legal separators
...
This also allows rust to use underscore!
@fix
2017-07-06 17:19:14 +01:00
Andy Williams
961c173f0f
elm_code: Fix rust syntax to include types
2017-07-06 17:18:47 +01:00
Andy Williams
8b8a43759c
elm_code: Add rust syntax
2017-07-03 22:17:07 +01:00
Andy Williams
c19d3b402a
elm_code: Fix missing syntax for .eo files
...
This was accidentally removed in the transition from edi.
using text/x-eolian which is not well reported by the FS yet.
@fix
2017-03-04 15:42:33 +00:00
Andy Williams
4596d795aa
elm_code: Fix syntax crash on trailing newline in multiline macro
...
@fix
2017-02-10 20:16:31 +00:00
Andy Williams
18b676531e
elm_code: syntax fix for preprocessor over multiple lines
2017-02-06 23:40:17 +00:00
Andy Williams
269affe753
elm_code: syntax fix for comments with an escaped blackslash
2017-02-06 23:40:17 +00:00
Andy Williams
9d0923e847
elm_code: fix bugs in the highlighting of full line comments
...
@fix
2017-02-03 17:17:05 +00:00
Andy Williams
c9d7b00aac
elm_code: Add syntax highlighting for python
2017-02-03 17:16:12 +00:00
Andy Williams
e8e72fb959
elm_code: update syntax symbols for C
...
Also don't hard code preprocessing parse
2017-02-03 17:13:27 +00:00
Andy Williams
960812f658
elm_code: Fix some syntax highlight after strings
2017-01-22 21:59:45 +00:00
Andy Williams
e4fef24898
elm_code: Syntax highlighting for multiline comments
2017-01-22 21:58:20 +00:00
Andy Williams
d5480c3103
elm_code: Improve string syntax parsing
2017-01-21 00:17:20 +00:00
Andy Williams
5851a9d4a8
elm_code: Add initial simple syntax highlighting for C code
...
For c source and headers lookup a simple syntax definition.
Use a very simple text processing line by line to tokenise.
Simple but it gets us one step closer to cross-language syntax
2017-01-20 22:11:01 +00:00