-- Copyright by Mateusz Rusin 2000 -- Mateusz.Rusin@interia.pl -- Wersja 1.01 GetPMState >> PMState if PMState = 2 EditStory endif if PMState = 3 EditStory endif if PMState = 4 EditStory endif repeat try ChangeAll " ", " ", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^s^s", "^s", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll " ", "^t", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^s^s", "^t", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^t ", "^t", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^t^s", "^t", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll " ^t", "^t", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^s^t", "^t", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^t^t", "^t", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^p^t", "^p", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^t^p", "^p", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^p ", "^p", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^p^s", "^p", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll " ^p", "^p", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^s^p", "^p", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "^p^p", "^p", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "---", "—", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "--", "–", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "-–", "—", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "–-", "—", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "––", "—", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "-—", "—", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "—-", "—", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "—–", "—", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "–—", "—", dontcare, matchcase, allinstances, clear GetLastError >> error until error repeat try ChangeAll "——", "—", dontcare, matchcase, allinstances, clear GetLastError >> error until error try ChangeAll " - ", " — ", dontcare, matchcase, allinstances, clear try ChangeAll "...", "…", dontcare, matchcase, allinstances, clear try ChangeAll " .", ".", dontcare, matchcase, allinstances, clear try ChangeAll " ,", ",", dontcare, matchcase, allinstances, clear try ChangeAll " ;", ";", dontcare, matchcase, allinstances, clear try ChangeAll " :", ":", dontcare, matchcase, allinstances, clear try ChangeAll " !", "!", dontcare, matchcase, allinstances, clear try ChangeAll " ?", "?", dontcare, matchcase, allinstances, clear try ChangeAll " %", "%", dontcare, matchcase, allinstances, clear try ChangeAll "„ ", "„", dontcare, matchcase, allinstances, clear try ChangeAll "“ ", "“", dontcare, matchcase, allinstances, clear try ChangeAll " ”", "”", dontcare, matchcase, allinstances, clear try ChangeAll "( ", "(", dontcare, matchcase, allinstances, clear try ChangeAll " )", ")", dontcare, matchcase, allinstances, clear try ChangeAll "[ ", "[", dontcare, matchcase, allinstances, clear try ChangeAll " ]", "]", dontcare, matchcase, allinstances, clear try ChangeAll "{ ", "{", dontcare, matchcase, allinstances, clear try ChangeAll " }", "}", dontcare, matchcase, allinstances, clear if PMState = 2 EditLayout endif if PMState = 3 EditLayout endif if PMState = 4 CloseStory place endif