Hi, I understand that this mail does not solve replace-macro-invocation, but the topic is similar and it maybe could be useful :-) -- I wrote a small Java add-On, which is hooked on the SPACE key stroke and which handles czech preposition; after typing a space the add-on scans text before space and if it is needed it inserts unbreakable space (code 160) (for Czech after A, K, I, v, s, ...).
The add-on is available for anybody who wants. It contains a small bug -- stroking SPACE, when the text selection is active, does not clear selection and does not inserts space :-), but it is not a big problem for me now, so it is still not corrected yet... Have a nice day, Martin -----Original Message----- From: [email protected] [mailto:xmleditor-support-bounces at xmlmind.com]On Behalf Of Jirka Kosek Sent: Thursday, April 07, 2005 10:07 AM To: xmleditor-support at xmlmind.com Subject: [XXE] Invoking search/replace as command from macro Hi, is there any possibility to invoke Search and Replace function with specified search text, replace text and options from macro? I didn't find such command in documentation. I need this to automatically add non breakable spaces after some prepositions and RE to do this manipulation is quite complicated to be typed each time again and again manually. TIA, Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka at kosek.cz http://www.kosek.cz ------------------------------------------------------------------ Profesion?ln? ?kolen? a poradenstv? v oblasti technologi? XML. Pod?vejte se na n?? nov? spu?t?n? web http://DocBook.cz Podrobn? p?ehled ?kolen? http://xmlguru.cz/skoleni/ ------------------------------------------------------------------

