rizonesoft / Notepad3

Notepad like text editor based on the Scintilla source code. Notepad3 based on code from Notepad2 and MiniPath on code from metapath. Download Notepad3:
https://www.rizonesoft.com/downloads/notepad3/
Other
5.15k stars 336 forks source link

Possibility to enable syntax highlighting for file >4Mo ? #5273

Closed Bill2web closed 3 months ago

Bill2web commented 3 months ago

Hi,

When I open a XML file >=4 Mo, there is a warning saying it's a big file and many features will be disabled, like syntax highlighting. OK. I can disable the warning with the checkbox.

But ... what if want highlighting syntaxe anyway, even for large file ?

Thanks in advance.

RaiKoHoff commented 3 months ago

Add/change parameter in Notepad3.ini, e.g. Show warning for >=16 MB files: [Settings2] FileLoadWarningMB=16

Bill2web commented 3 months ago

Perfect! Thanks

CaptainHugg commented 2 months ago

Maybe I'm misunderstanding, but changing the value of the FileLoadWarningMB in Notepad3.ini as @RaiKoHoff suggested seemingly has no impact on syntax highlighting when opening bigger files. Is there any other way to achieve this?

hpwamr commented 2 months ago

Hello @CaptainHugg ,

As @Bill2web confirms above, in the Notepad3.ini file, section "[Settings2]", changing the value of FileLoadWarningM works fine!.

Tested with: Notepad3 (x64) 6.24.828.1 rc3 and this test file: Test_(8,04 MB).7z)

Questions:

FileLoadWarningMB=16

CaptainHugg commented 2 months ago

@hpwamr, You got me, I did in fact not uncomment FileLoadWarningMB and now it works like a charm. Much appreciated!!