Notepad3
Notepad3 copied to clipboard
Notepad3 becomes unresponsive when opening certain Kotlin files
Hello @RaiKoHoff , I confirm the bug. 😬
Version: Notepad3 (x64) 6.24.111.1 rc2
Notepad3 freezes completely with this "Kotlin" file: Test_Kotlin.zip which contains:
package com.example.service
class TestService
Edited: From your new Sample (updated): "Test.zip"
I see that Notepad3 completely freezes with your new "Test.kt" file which ONLY contains the letter "a". 😬
When porting lexers from Notepad2, SafeGetCharAt(pos)
should be replaced with SafeGetCharAt(pos, '\0')
, see https://github.com/zufuliu/notepad2/blob/main/scintilla/lexlib/LexAccessor.h#L92
PR #5121 tries to port Zufu Liu's current Lexers for Kotlin and Dart.
Hello @WPum ,
Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_6.24.228.1_rc2.paf" or newer, see in issue #1129.
"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.
Also, feel free to test the "BETA/RC Setup", version "Notepad3_6.24.228.1_rc2_Setup" or newer, see the 2nd list in issue #1129.
Comments and suggestions are welcome... 😃