ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IRange, Range } from '../core/range.js';
import { Searcher } from '../model/textModelSearch.js';
import * as strings from '../../../base/common/strings.js';
import { IUnicodeHighlightsResult } from './editorWorker.js';
import { assertNever } from '../../../base/common/assert.js';
import { DEFAULT_WORD_REGEXP, getWordAtText } from '../core/wordHelper.js';
export class UnicodeTextModelHighlighter {
public static computeUnicodeHighlightsmodel IUnicodeCharacterSearcherTarget options UnicodeHighlighterOptions range IRange IUnicodeHighlightsResult
startLine range rangestartLineNumber
endLine range rangeendLineNumber model
codePointHighlighter options
candidates codePointHighlighter
regex RegExp
candidates
regex
regex
searcher regex
ranges Range
hasMore
m RegExpExecArray
ambiguousCharacterCount
invisibleCharacterCount
nonBasicAsciiCharacterCount
forLoop
lineNumber startLine lineCount endLine lineNumber lineCount lineNumber
lineContent modellineNumber
lineLength lineContentlength
searcher
m searcherlineContent
m
startIndex mindex
endIndex mindex mlength
startIndex
charCodeBefore lineContentstartIndex
stringscharCodeBefore
startIndex
endIndex lineLength
charCodeBefore lineContentendIndex
stringscharCodeBefore
endIndex
str lineContentstartIndex endIndex
word startIndex lineContent
word wordendColumn startIndex
word
highlightReason codePointHighlighterstr word wordword
highlightReason SimpleHighlightReasonNone
highlightReason SimpleHighlightReasonAmbiguous
ambiguousCharacterCount
highlightReason SimpleHighlightReasonInvisible
invisibleCharacterCount
highlightReason SimpleHighlightReasonNonBasicASCII
nonBasicAsciiCharacterCount
highlightReason
rangeslength
hasMore
forLoop
ranges lineNumber startIndex lineNumber endIndex
m
ranges
hasMore
ambiguousCharacterCount
invisibleCharacterCount
nonBasicAsciiCharacterCount
char options UnicodeHighlighterOptions UnicodeHighlighterReason
codePointHighlighter options
reason codePointHighlighterchar
reason
SimpleHighlightReasonNone
SimpleHighlightReasonInvisible
kind UnicodeHighlighterReasonKindInvisible
SimpleHighlightReasonAmbiguous
codePoint char
primaryConfusable codePointHighlighterambiguousCharacterscodePoint
notAmbiguousInLocales
stringsAmbiguousCharacters
l
stringsAmbiguousCharacters
optionsallowedLocales l
codePoint
kind UnicodeHighlighterReasonKindAmbiguous confusableWith StringprimaryConfusable notAmbiguousInLocales
SimpleHighlightReasonNonBasicASCII
kind UnicodeHighlighterReasonKindNonBasicAscii
codePoints flags
src
src
UnicodeHighlighterReasonKind
Ambiguous Invisible NonBasicAscii
kind UnicodeHighlighterReasonKindAmbiguous
confusableWith
notAmbiguousInLocales
kind UnicodeHighlighterReasonKindInvisible
kind UnicodeHighlighterReasonKindNonBasicAscii
allowedCodePoints Set
ambiguousCharacters stringsAmbiguousCharacters
options UnicodeHighlighterOptions
allowedCodePoints optionsallowedCodePoints
ambiguousCharacters stringsAmbiguousCharacters optionsallowedLocales
Set
optionsnonBasicASCII
set
optionsinvisibleCharacters
cp stringsInvisibleCharacterscodePoints
Stringcp
setcp
optionsambiguousCharacters
cp ambiguousCharacters
setcp
cp allowedCodePoints
setcp
set
character wordContext SimpleHighlightReason
codePoint character
allowedCodePointscodePoint
SimpleHighlightReasonNone
optionsnonBasicASCII
SimpleHighlightReasonNonBasicASCII
hasBasicASCIICharacters
hasNonConfusableNonBasicAsciiCharacter
wordContext
char wordContext
codePoint char
isBasicASCII stringschar
hasBasicASCIICharacters hasBasicASCIICharacters isBasicASCII
isBasicASCII
ambiguousCharacterscodePoint
stringsInvisibleCharacterscodePoint
hasNonConfusableNonBasicAsciiCharacter
hasBasicASCIICharacters
hasNonConfusableNonBasicAsciiCharacter
SimpleHighlightReasonNone
optionsinvisibleCharacters
character stringsInvisibleCharacterscodePoint
SimpleHighlightReasonInvisible
optionsambiguousCharacters
ambiguousCharacterscodePoint
SimpleHighlightReasonAmbiguous
SimpleHighlightReasonNone
character
character character character
SimpleHighlightReason
None
NonBasicASCII
Invisible
Ambiguous
lineNumber
nonBasicASCII
ambiguousCharacters
invisibleCharacters
includeComments
includeStrings
allowedCodePoints
allowedLocales