Skip to content

Latest commit

 

History

History
456 lines (230 loc) · 10.7 KB

textFragment.mdx

File metadata and controls

456 lines (230 loc) · 10.7 KB
sidebar_label Text fragment

import { ScopeVisualizer, ScopeVisualizerOptions, ScopeVisualizerProvider } from "@site/src/docs/components/ScopeVisualizer"; import scopeTests from "./fixtures/textFragment.json";

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.

Visualization

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
Swift
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
Shell Script
Swift
Talon list
Talon
YAML

Text fragment: Element

Internally used text fragment consisting of an XML/HTML element interior

HTML
JavaScript React
LaTeX
XML

Text fragment: Regular expression

Internally used text fragment consisting of a regular expression literal pattern

Clojure
JavaScript
Ruby
Shell Script
Swift

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
Shell Script
Swift
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)
Shell Script
Swift
Talon list
Talon
XML
YAML