On Sat, 8 Dec 2018 at 16:00, hh via use-livecode < use-livecode@lists.runrev.com> wrote:
> You could moreover add the following to the field's script. > > on rawkeyup k > switch k > case 65288 -- backspace > put word 4 of the selectedChunk into cx > if char cx of me is among the items of \ > > (numToCodePoint(0x23CE),numToCodePoint(0x21E5),numToCodePoint(0x00B7)) > then delete char cx of me > break > case 65535 -- forward delete > put word 2 of the selectedChunk into cx > if char cx of me is among the items of > (numToCodePoint(0x200A),cr,tab) > then delete char cx of me > break > default > pass rawkeyup > end switch > end rawkeyUp > > There is still more to do, e.g. when typing after a return symbol... > Hope you are (as I did) sharing your working edit code when done. > I have a long way to go before I have anything useful as I am still trying to grasp the excellent information. But of course I will share if I have anything to add to these. -- Kaveh Bazargan Director River Valley Technologies <http://rivervalleytechnologies.com/> • Twitter <https://twitter.com/kaveh1000> • LinkedIn <https://www.linkedin.com/in/bazargankaveh/> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode