Project

General

Profile

Actions

Bug #25532

closed

highlighting error

Added by Joachim Schmidt over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Administrator Admin
Category:
t3editor
Target version:
-
Start date:
2008-05-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

see line 75 and 86 in picture

(issue imported from #M8478)

Actions #1

Updated by Administrator Admin over 16 years ago

thanks for this report.

In line 71 the operator =< highlighted wrong (two colored)

Actions #2

Updated by Administrator Admin over 16 years ago

already fixed in my dev-version.
i will prepare a patch soon, so this should be fixed in the next release

Actions #3

Updated by Administrator Admin over 16 years ago

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 "<"
Actions #4

Updated by Michael Stucki almost 11 years ago

  • Project changed from 75 to TYPO3 Core
  • Target version deleted (0)
Actions #5

Updated by Michael Stucki almost 11 years ago

  • Category set to t3editor
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF