Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

Avoid spurious comment highlighting #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dandersson
Copy link

The previous comment highlighting incorrectly highlighted the line following # characters occurring within a cell/token as comments, in cases such as foo#bar and foo #bar.

The #bar strings above should not be highlighted as comments, as they do not describe the start of a cell or token, which are delimited by at least either two spaces or a tab.

http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#rules-for-parsing-the-data

I removed the note on multiline comments, as they are not supported. See e.g.

The previous comment highlighting incorrectly highlighted the line
following `#` characters occurring within a cell/token as comments, in
cases such as `foo#bar` and `foo #bar`.

The `#bar` strings above should not be highlighted as comments, as they
do not describe the start of a cell or token, which are delimited by at
least either two spaces or a tab.

<http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#rules-for-parsing-the-data>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant