Bug #25532
closed
thanks for this report.
In line 71 the operator =< highlighted wrong (two colored)
already fixed in my dev-version.
i will prepare a patch soon, so this should be fixed in the next release
Patch attached
Summery:
Problem I:
After an operator (= > and <) the parser expected a "value". If the operator is the last char in a line (e.g. when deleting a property with >), the parser detects complete next line as value.
Test I:
open the t3editor and write the following code:
temp.foo = value
temp.foo >
temp.bar = another value
Line 1 should be correct.
Type no space after > in line 2.
If the attached patch is not applied, the line 3 would get red colored
If patch is applied, line 3 is colored correct.
See Screenshot attached to the issue in the bugtracker
Problem II:
Reference operator "=<" is not detected as a operator correctly, but gets "two-colored". This is, because the "<" is detected as a value of the "=" operator.
Test II:
type:
temp.foo =< temp.bar
Solution:
Detect if operator is followed by a line break
and detect if "=" is not followed by "<"
- Project changed from 75 to TYPO3 Core
- Target version deleted (
0)
- Status changed from Resolved to Closed
Also available in: Atom
PDF