Startseite › Foren › Deutsches LiveCode-Forum › Colorizer › Antwort auf: Colorizer
Hi Klaus,
ich habe jetzt mal geforscht und in den Release notes zu Version 7 folgendes gefunden:
https://downloads.livecode.com/livecode/7_0_0/LiveCodeNotes-7_0_0_dp_1.pdf
synonym: segment
The segment chunk type has been added as a synonym to the existing word chunk. This in order to allow you to update your scripts to use the newer syntax in anticipation of a future change to make the behaviour of the word chunk match the new trueWord behaviour.
We would anticipate changing the meaning of word with our ‚Open Language‘ project. It requires us to create a highly accurate script translation system to allow old scripts to be rewritten in new revised and cleaner syntax. It is at this point we can seriously think about changing the meaning of existing tokens, including word. Existing scripts will continue to run using the existing parser, and they can be converted (by the user) over time to use the newer syntax.
In Zukunft ist als scheinbar segment das alte word
und trueword wird zu word. Die alten Skripte müssen dann aber scheinbar angepasst werden, allerdings von Hand (by the user). Im Prinzip sollte ein intelligentes Replace durch die IDE aber auch möglich sein, oder? Denn es muss ja nur word durch segment und trueword durch word ersetzt werden, oder was meinst Du?