Understanding Text Editing: Why Special Character Escapes Only Work in Quotes - Using EmEditor

Understanding Text Editing: Why Special Character Escapes Only Work in Quotes - Using EmEditor

Christopher Lv8

Understanding Text Editing: Why Special Character Escapes Only Work in Quotes - Using EmEditor

Tagged: escape , quote

Viewing 1 post (of 1 total)

  • Author
    Posts
  • August 8, 2017 at 12:15 pm #22173
    jjasmith4
    Participant
    I work in the K language (see KDB or KX Systems). In that language the backslash character is an operator, and double-quotes delimit a string. So if I want to use the backslash operator on a string, the code might look something like this: {function}\"myString" But EmEditor sees the backslash-double-quote sequence as an escaped double-quote, so it colorizes the whole rest of the file as if it were a very long string beginning after “myString” — in K a string can span lines.
    There’s no need to treat backslash-double-quote as an escaped double-quote unless that sequence is inside double quotes.
  • Author
    Posts

Viewing 1 post (of 1 total)

  • You must be logged in to reply to this topic.

Also read:

https://techidaily.com
  • Title: Understanding Text Editing: Why Special Character Escapes Only Work in Quotes - Using EmEditor
  • Author: Christopher
  • Created at : 2024-10-05 11:17:37
  • Updated at : 2024-10-10 20:21:15
  • Link: https://win-guides.techidaily.com/understanding-text-editing-why-special-character-escapes-only-work-in-quotes-using-emeditor/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Understanding Text Editing: Why Special Character Escapes Only Work in Quotes - Using EmEditor