Skip to main content

Text fragment

Cursorless ID: textFragment

Spoken form

Default: text fragment

Syntax

  • text fragment - Text fragment.

Examples

  • "take text fragment blue air" - Selects the text fragment containing the token containing letter 'a' with a blue hat.

Internal scopes

The following are internal scopes. They are not intended for user interaction or spoken use. These scopes exist solely for internal Cursorless functionality.

Text fragment: Comment block

Internally used text fragment consisting of a block comment
C
C#
CSS
Dart
Go
HTML
Java
JavaScript
JSON
Kotlin
Latex
Lua
Markdown
PHP
Ruby
Rust
Scala
XML

Text fragment: Comment line

Internally used text fragment consisting of a line comment
C
Clojure
C#
Dart
Go
Java
JavaScript
JSON
Kotlin
Latex
Lua
PHP
Properties
Python
R
Ruby
Rust
Scala
Tree sitter query (SCM)
SCSS
Talon-list
Talon
Yaml

Text fragment: Element

Internally used text fragment consisting of a xml element interior
HTML
JavaScript React
Latex
XML

Text fragment: String multi line

Internally used text fragment consisting of a multi-line string
Clojure
C#
Dart
Go
Java
JavaScript
Kotlin
Lua
PHP
Python
R
Ruby
Rust
Scala
Yaml

Text fragment: String single line

Internally used text fragment consisting of a single-line string
C
Clojure
C#
CSS
Dart
Go
HTML
Java
JavaScript
JSON
Kotlin
Lua
PHP
Python
R
Ruby
Rust
Scala
Tree sitter query (SCM)
Talon-list
Talon
XML
Yaml