8000 Term encoder still has problems with nested tokens · Issue #29 · rubychan/coderay · GitHub
[go: up one dir, main page]

Skip to content
Term encoder still has problems with nested tokens  #29
Open
@kyrylo

Description

@kyrylo

Hey. I'm developing a Ruby terminal application on top of CodeRay and I'm having troubles with understanding of string, regexp and shell attributes.

What is regexp function? Why does self sub-attribute set a color value for \d, \w, \b and so on?

regexp:
  self
  content
  delimiter
  modifier
  function

Why does self sub-attribute set a color value for escape sequences like \n, \t and so on?

shell:
  self
  content
  delimiter

Why does self sub-attribute set a color value for escape sequences like \n, \t and so on? What is a string modifier? Why does escape sub-attribute not set a color for escape sequences?

string:
  self
  content
  modifier
  escape 
  delimiter

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0