[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two possible bugs bugging me

From: Aaron Hill
Subject: Re: Two possible bugs bugging me
Date: Sat, 30 Jul 2022 01:10:48 -0700

On 2022-07-30 12:52 am, samarutuk via bug-lilypond wrote:
I have to correct myself. "Find and Replace" works for some LilyPond
files, which is absolutely strange, and it shows the same behavior
under Frescobaldi (3.1.3) for macOS as it does under Windows 10
I will attach an example file. If you want to replace there e.g.
"\breathe", it is marked wrong and the expression is not replaced via
the "Replace" button. The "\mm" above can be replaced, which makes the
whole thing even stranger.
I think it has something to do with the \paper block, if I remove it,
"Find and Replace" works. As I said, this was not a problem before. 
Actually, search+replace should work with any "text" I place in the
code window, and the text should not interfere with the "search and
replace" feature per se, right?

The presence of the 🙰 (U+1F670) character in a comment in the \paper block is the problem. Frescobaldi is not handling Unicode surrogate pairs properly, so there is an off-by-one error when counting characters.

-- Aaron Hill

reply via email to

[Prev in Thread] Current Thread [Next in Thread]