Project

General

Profile

Actions

Bug #52898

closed

Wrong comment handling

Added by Ro!and Schorr over 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
t3editor
Target version:
-
Start date:
2013-10-16
Due date:
% Done:

0%

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

Description

you can enter the following code (comment in c-style) in the Typoscript editor:

/* Setup:
 * -------------------------------------------------------------------------------- */

All setup below will be highlighted as normal, but if you use the template object browser, you will see, that all lines below are still marked as comment!

(TYPO3 CMS 6.1.5)

Note: Adding a CR before the */ will fix the problem of TS not beeing used, but the syntax highlighting should be fixed ...

Actions #1

Updated by Philipp Gampe over 10 years ago

The syntax highlighting might not conform 100% to the TypoScript specification. We use a generic library that might not support this special case.
http://docs.typo3.org/typo3cms/TyposcriptSyntaxReference/Syntax/TypoScriptSyntax/Index.html#rules

Actions #2

Updated by Michael Stucki over 10 years ago

  • Project changed from 75 to TYPO3 Core
Actions #3

Updated by Michael Stucki over 10 years ago

  • Category set to t3editor
Actions #4

Updated by Mathias Schreiber about 9 years ago

  • Status changed from New to Closed
  • Is Regression set to No

Closing c-style comments need to be on an empty line

Actions

Also available in: Atom PDF