uneMule Posted June 19, 2021 Share Posted June 19, 2021 Bonne nuit à tous, le texte recherché est en vert. Dans la première capture le texte avant le remplacement. Dans le seconde capture le texte après remplacement. Observez le mot remplace (bicolore) mais la couleur d'autre mots change également, comme si il y avait un glissement. Étonnant, non ? ***** Good night to all, the text looking for is in green. In the first capture the text before the replacement. In the second capture the text after replacement. Observe the word replaced (two-coloured) and colour of other words also change, as if there was a shift. Amazing, isn't it? Publisher 1.9.2.1035. Windows 10 19042.1052. Quote Toujours pas !Windows 10 Pro 21H2 - Intel Core i7-3630QM CPU @ 2.40GHz - 16 Gb Ram - GeForce GT 650M - Intel HD 4000 Affinity Photo | Affinity Designer | Affinity Publisher | 2 Link to comment Share on other sites More sharing options...
walt.farrell Posted June 19, 2021 Share Posted June 19, 2021 Quite interesting. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
Staff Pauls Posted June 28, 2021 Staff Share Posted June 28, 2021 I'm going to guess that the page number is a field which isn't matching as a printable character. Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted June 28, 2021 Share Posted June 28, 2021 21 minutes ago, Pauls said: I'm going to guess that the page number is a field which isn't matching as a printable character. But how does that explain all the color changes in the text after a Replace? Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
Staff Pauls Posted June 28, 2021 Staff Share Posted June 28, 2021 a bit further investigation might suggest that group replacments are not updating some formatting locations correctly Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted June 28, 2021 Share Posted June 28, 2021 19 minutes ago, Pauls said: a bit further investigation might suggest that group replacments are not updating some formatting locations correctly That's my suspicion, too Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
Staff Pauls Posted June 28, 2021 Staff Share Posted June 28, 2021 I've logged that now walt.farrell and uneMule 2 Quote Link to comment Share on other sites More sharing options...
uneMule Posted June 28, 2021 Author Share Posted June 28, 2021 @Pauls @walt.farrell Merci messieurs. Bonne soirée. Thank you, gentlemen. Have a nice evening. regex_limiter_la_zone_de_recherche.afpub walt.farrell 1 Quote Toujours pas !Windows 10 Pro 21H2 - Intel Core i7-3630QM CPU @ 2.40GHz - 16 Gb Ram - GeForce GT 650M - Intel HD 4000 Affinity Photo | Affinity Designer | Affinity Publisher | 2 Link to comment Share on other sites More sharing options...
Wosven Posted June 28, 2021 Share Posted June 28, 2021 It looks like some errors that can occur in ID when using scripts to search on text value, and not "objects" using regular expressions. The "styles" stay in place (attributed to the same objects’ — characters — positions, but the content/text is different (longer or shorter). === Ce problème est similaire à l'utilisation de scripts dans ID, modifiant la valeur du texte, sans prendre en compte les styles. Les styles restent à leur position, tandis que le texte modifié est plus long ou plus court. Quote Link to comment Share on other sites More sharing options...
uneMule Posted June 28, 2021 Author Share Posted June 28, 2021 9 minutes ago, Wosven said: Ce problème est similaire à l'utilisation de scripts dans ID, modifiant la valeur du texte, sans prendre en compte les styles. Les styles restent à leur position, tandis que le texte modifié est plus long ou plus court. @WosvenBonsoir Mais comment expliquer la modification sur le second paragraphe qui n'a pas subi de modification de texte ? But how to explain the change in the second paragraph, which has not supported any text change? Quote Toujours pas !Windows 10 Pro 21H2 - Intel Core i7-3630QM CPU @ 2.40GHz - 16 Gb Ram - GeForce GT 650M - Intel HD 4000 Affinity Photo | Affinity Designer | Affinity Publisher | 2 Link to comment Share on other sites More sharing options...
Wosven Posted June 28, 2021 Share Posted June 28, 2021 2 hours ago, uneMule said: But how to explain the change in the second paragraph Imagine it's like boxes: [0][1][2][3][4][5][6][7][8][9] You replace "1" by "99": [0][9][9][2][3][4][5][6][7][8][9] The "red style" stay in place, and the line is longer of 1. Supposing it doesn't affect only at line or paragraph level, but at story level, we can imagine next paragraph is modified too. ==== Imagine des boîtes: [0][1][2][3][4][5][6][7][8][9] On remplace "1" par "99": [0][9][9][2][3][4][5][6][7][8][9] La boîte "style rouge" reste à sa position, et la ligne est plus longue d'1 caractère. En supposant que cela n'affecte pas uniquement au niveau d'une ligne ou d'un paragraphe, mais de l'article complet, on peut imaginer que le paragraphe suivant (ou la liste de boîtes suivantes) est aussi modifié/décalé. Old Bruce 1 Quote Link to comment Share on other sites More sharing options...
uneMule Posted June 28, 2021 Author Share Posted June 28, 2021 3 minutes ago, Wosven said: mais de l'article complet Oui. Dans ce cas, pourquoi pas. Yes. In this case, why not. Quote Toujours pas !Windows 10 Pro 21H2 - Intel Core i7-3630QM CPU @ 2.40GHz - 16 Gb Ram - GeForce GT 650M - Intel HD 4000 Affinity Photo | Affinity Designer | Affinity Publisher | 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.