Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Quotes issues #16

Open
HNitely opened this issue Jun 10, 2016 · 2 comments
Open

Quotes issues #16

HNitely opened this issue Jun 10, 2016 · 2 comments

Comments

@HNitely
Copy link

HNitely commented Jun 10, 2016

Hi !

llInsertString(object_name, p, """); the editor will not detect correctly the 3 quotes.

693392be9289b8f6c0bd06af238a66d6

Temporary fix: You can use llUnescapeURL("%22") as %22 is the URL code of "
6606dcc209aac5e8c24167e14cff4c61

You can use http://meyerweb.com/eric/tools/dencoder/ to find code of any characters.

@buildersbrewery
Copy link
Contributor

Relevant code section in the source:

'quoted':
'begin': '"'
'beginCaptures':
'0':
'name': 'punctuation.definition.string.begin.lsl'
'end': '"'
'endCaptures':
'0':
'name': 'punctuation.definition.string.end.lsl'
'name': 'string.quoted.double.lsl'
'patterns': [ {
'name': 'constant.character.escape.back-slash.lsl'
'match': '\\\\'
}
{
'name': 'constant.character.escape.new-line.lsl'
'match': '\\n'
}
{
'name': 'constant.character.escape.tab.lsl'
'match': '\\t'
}
{
'name': 'constant.character.escape.double-quote.lsl'
'match': '\\"'
}
]

@Nemirel345
Copy link

Apparently https://github.com/SoloMornington/language-lsl doesn't have this issue. Took me forever to find an alternative version of the LSL language for Atom.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants