#!! scope: {type: boundedNonWhitespaceSequence}
#!! languageId: plaintext, python, typescript
foo(bar)
#!1 ^^^^^^^^
#!2 ^^^
#!3 ********
#!4 ***
foo(bar baz)
#!1 ^^^^^^^
#!2 ^^^
#!3 ^^^
#!4 ^^^^
#!5 ************
#!6 *******
(foo)bar
#!1 ^^^
#!2 ^^^^^^^^
foo(bar)baz
#!1 ^^^^^^^^^^^
#!2 ^^^
foo( bar )
#!1 ^^^^
#!2 ^^^
#!3 ^
foo(bar )
#!1 ^^^^^^^
#!2 ^^^
#!3 ^
( foo)bar(baz )
#!1 ^
#!2 ^^^
#!3 ^^^^^^^^^^^
#!4 ^^^
#!5 ^
colors.back)ground.dark
#!1 ^^^^^^^^^^^
#!2 ^^^^^^^^^^^^^^^^^^^^^^^
( foo)bar
#!1 ^
#!2 ^^^
#!3 ^^^^^^^
(( foo)bar)baz
#!1 ^^
#!2 ^
#!3 ^^^
#!4 ^^^^^^^
#!5 ^^^^^^^^^^^
Proposed implementation
"paint"Dependencies
surroundingPairto use a scope handler #1061Test cases to add
(using syntax proposed in #1524)