PunKHS
PunKHS

Reputation: 47

Monaco Editor restrictions for highlights selected words

I have a huge text with a lot of the same words (1400 items). When I select the first word Monaco highlights just 999 the first same words. Please, suggest to me some options which adjustment this behaviour.

Upvotes: 1

Views: 671

Answers (1)

Peter
Peter

Reputation: 2927

As far as I know, (I spent about 30 minutes reading many issues on this) this limit is not easily configurable, meaning you need to modify code. Furthermore, it's probably better not to do this since the developers who decided on this limit did so with performance and usability in mind (avoid blocking, long pauses when operating on large files).

There are a bunch of issues which reference this in the vscode repo which uses monaco as its base text editor library:

Upvotes: 1

Related Questions