Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benutzerauswahl für Scriptausführung #6

Open
Frazima opened this issue Sep 19, 2021 · 1 comment
Open

Benutzerauswahl für Scriptausführung #6

Frazima opened this issue Sep 19, 2021 · 1 comment

Comments

@Frazima
Copy link

Frazima commented Sep 19, 2021

Hallo, vielen Dank für das klasse Script.
Folgendes ist mir aufgefallen:
Wenn ich das Script für eine Benutzerauswahl ausführen will - geht es immer auf den kompletten Textabschnitt.
Bei der Abfrage stehen auch nur "Dokument" und "Textabschnitt" - "Benutzerauswahl fehlt!

Chaingrep - ausführung

WIN10 - IND 2021

Beste Grüße
Frank Zimmermann

@grefel
Copy link
Owner

grefel commented Sep 28, 2021

It is not trivial to manage a user selection with multiple search and replace operations. Problems occur when a preceedign GREP changes the character count and therefore the following GREP operating on a different Textrange.
There is a possible fix for this, calculating the selection changes or moving the text to a temporary frame. Both need some more work... I leave this open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants