On 2015-03-27 11:34, Jacob Carlborg wrote:
I'm currently updating the TextMate D bundle for D2. I have a couple of
questions for how to highlighting some specific code or how other
editors/IDE's highlight them.
What about #line?
--
/Jacob Carlborg
On Saturday, 28 March 2015 at 00:01:48 UTC, Jesse Phillips wrote:
Probably should be Identifier for consistency [e.g. _arugments,
__vptr, _ctor]
Isn't __ctor just a DMD thing? I don't think we should be
highlighting symbols which aren't guaranteed to even exist for a
particular implementation
On 2015-03-28 01:01, Jesse Phillips wrote:
Statement [e.g. debug, return, function, with] (that needs fixed)
Not sure what you mean.
Probably should be Identifier for consistency [e.g. _arugments, __vptr,
_ctor]
I completely forgot about these. Should these be the same as __ctfe?
Which I
On Friday, 27 March 2015 at 15:23:56 UTC, Jacob Carlborg wrote:
On 2015-03-27 16:04, Dicebot wrote:
not at all. The fact it is reserved is already denoted by __,
otherwise
it is just another vairable/symbol.
Doesn't this symbol also have special semantics?
Not really. It has special value
Vim is setup as:
On Friday, 27 March 2015 at 10:34:58 UTC, Jacob Carlborg wrote:
I'm currently updating the TextMate D bundle for D2. I have a
couple of questions for how to highlighting some specific code
or how other editors/IDE's highlight them.
* "this" in constructor
this () {}
Keywor
On Friday, 27 March 2015 at 15:23:56 UTC, Jacob Carlborg wrote:
On 2015-03-27 16:04, Dicebot wrote:
not at all. The fact it is reserved is already denoted by __,
otherwise
it is just another vairable/symbol.
Doesn't this symbol also have special semantics?
A more pragmatical view would be:
On 2015-03-27 16:04, Dicebot wrote:
not at all. The fact it is reserved is already denoted by __, otherwise
it is just another vairable/symbol.
Doesn't this symbol also have special semantics?
--
/Jacob Carlborg
Personal preferences:
* "this" in constructor
this () {}
In TextMate functions/methods are highlighted, should this be
highlighted as a keyword or as a method?
method
* "this" in copy constructor
this (this) {}
The "this" parameter, should that be highlighted as a keyword
or as a param
On 2015-03-27 13:33, Chris wrote:
Am using Textadept, the highlighting is as follows:
highlighted as keyword:
this()
Why is this highlighted as a keyword? I was more leaning to highlight it
as a method. What about the parameter in a copy constructor?
__traits
What about the identifiers/
On Friday, 27 March 2015 at 14:10:22 UTC, Jacob Carlborg wrote:
On 2015-03-27 15:03, Chris wrote:
Well, it _is_ a keyword. You cannot write a function called
"this", nor
can you use it as a variable name. So yes, it's a keyword =
reserved.
It depends on how you see it. It's also a special me
On Friday, 27 March 2015 at 13:58:03 UTC, Jacob Carlborg wrote:
On 2015-03-27 13:33, Chris wrote:
Am using Textadept, the highlighting is as follows:
highlighted as keyword:
this()
Why is this highlighted as a keyword? I was more leaning to
highlight it as a method.
Well, it _is_ a keywor
On 2015-03-27 15:03, Chris wrote:
Well, it _is_ a keyword. You cannot write a function called "this", nor
can you use it as a variable name. So yes, it's a keyword = reserved.
It depends on how you see it. It's also a special method that just
happens to use a keyword as its name. It doesn't h
On Friday, 27 March 2015 at 10:34:58 UTC, Jacob Carlborg wrote:
I'm currently updating the TextMate D bundle for D2. I have a
couple of questions for how to highlighting some specific code
or how other editors/IDE's highlight them.
* "this" in constructor
this () {}
In TextMate functions/met
I'm currently updating the TextMate D bundle for D2. I have a couple of
questions for how to highlighting some specific code or how other
editors/IDE's highlight them.
* "this" in constructor
this () {}
In TextMate functions/methods are highlighted, should this be
highlighted as a keyword or
14 matches
Mail list logo