Ticket #1194 (closed defect: not relevant)
PPI Experimental & Skeleton Build
| Reported by: | bowtie | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Syntax Highlighting | Version: | 0.85 |
| Keywords: | Cc: |
Description
In the process of generating the wiki page, I note the following.
enc:
Good.pm ; is highlighted by PPIx
Bad.pm ; is highlighted by Scintilla
why?
have I done something wrong, if so what?
Attachments
Change History
comment:1 Changed 2 years ago by szabgab
- Status changed from new to closed
- Resolution set to not a bug
- Component changed from editor to Syntax Highlighting
Even if you turn PPI Syntax highlighting on, because it is very slow, there is a size limit. Files above that limit will be highlighted using Scintilla.
comment:2 Changed 2 years ago by bowtie
I think you missed the point, both files were skeleton builds, hence size of 2k and 5k, unless you are saying the file size limit is between thkes place between 2-5k.
Something is causing this, and I doubt very much in this case its file size..
comment:3 Changed 2 years ago by bowtie
- Status changed from closed to reopened
- Resolution not a bug deleted
comment:4 Changed 2 years ago by szabgab
In Padre::Document::Perl the limit is hard coded for 2 lexers at 4000 bytes.
One of the lexers uses the perl_ppi_lexer_limit configuration variable which,
in Padre::Config is set to a default of 4000 bytes.
comment:5 Changed 2 years ago by bowtie
Cool
changed to 8k (8192) in all three locations as suggested,
works a dream.
what is the expected, overhead?
I would like to set it @ 32768 32k, comments please
