[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-bug
Subject:    Re: Two possible bugs bugging me
From:       Aaron Hill <lilypond () hillvisions ! com>
Date:       2022-07-30 8:10:48
Message-ID: 1350e493017e665fb7fb7f81c5c3a89b () hillvisions ! com
[Download RAW message or body]

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
> (3.1.3+3.2).
> 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

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic