commit 801768af9242ff1aca8735a0226e4c78becded00
Author: Kornel Benko <[email protected]>
Date:   Fri Apr 8 19:56:41 2022 +0200

    FindQuick: Amend 1f7d90d6: Add some not handled quotation marks
---
 src/Paragraph.cpp |   28 ++++++++++++++++++----------
 1 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 92bb883..e37a123 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -4563,16 +4563,24 @@ void Paragraph::changeCase(BufferParams const & 
bparams, pos_type pos,
 static char_type matchquote(char_type in)
 {
        switch (in) {
-               case 0x2018:
-               case 0x201a:
-               case 0x203a:
-               case 0x2039:
-                       return '\'';    // ‘ ‚ › ‹
-               case 0x00bb:
-               case 0x00ab:
-               case 0x201e:
-               case 0x201c:
-                       return '"';     // » « „ “
+               case 0x2018:    // Left Single Quotation Mark
+               case 0x2019:    // Right Single Quotation Mark
+               case 0x201a:    // Single Low-9 Quotation Mark
+               case 0x201b:    // Single High-Reversed-9 Quotation Mark 
+               case 0x2039:    // Single Left-Pointing Angle Quotation Mark
+               case 0x203a:    // Single Right-Pointing Angle Quotation Mark
+                       return '\'';
+               case 0x00bb:    // Right-Pointing Double Angle Quotation Mark
+               case 0x00ab:    // Left-Pointing Double Angle Quotation Mark
+               case 0x201e:    // Double Low-9 Quotation Mark 
+               case 0x201c:    // Left Double Quotation Mark 
+               case 0x201d:    // Right Double Quotation Mark 
+               case 0x201f:    // Double High-Reversed-9 Quotation Mark 
+               case 0x2e42:    // Double Low-Reversed-9 Quotation Mark
+               case 0x301e:    // Double Prime Quotation Mark
+               case 0x301d:    // Reversed Double Prime Quotation Mark
+               case 0x301f:    // Low Double Prime Quotation Mark
+                       return '"';
                default:
                        return in;
        }
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to