-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Description of the Issue
When using custom language settings the folding won't work with defined delimiter and EOL symbol set to Linux-style LF. Works ok with Windows-style end of line CR LF. The same as issue nr #350.
Steps to Reproduce the Issue
- Define custom language with 'folding in code 1 style' opener '{' and closure '}'.
- Define 'delimiter 1 style' with opener and closure set to quotation marks (the " sign).
- Preview a sample file with EOL defined as 'LF' sign.
Expected Behavior
Begin and end of folding in lines containing the '{' and '}' signs.
Actual Behavior
Folding behave randomly and change dynamically depending on changes made to the document. Example with user-defined language and only two setted as bellow:
'Folding in code 1 style' to
open: {
close: }
'Delimiter 1 style' to
open: "
close: "

.
Debug Information
Notepad++ v7.6.6 (64-bit)
Build time : Apr 3 2019 - 23:52:32
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : mimeTools.dll NppConverter.dll
Deleting all the 'tab' symbols changes the behavior of folding mechanism, but all the time the detection of open and close symbol works fine as in the image below:
