Re: Visible carriage returns

From: Pat (patrick_at_rtv.nos.nl)
Date: 06/07/04


Date: Mon, 7 Jun 2004 11:41:21 +0200


"Andreas Leitgeb" <avl@gamma.logic.tuwien.ac.at> schreef in bericht
news:slrncc0b13.258.avl@gamma.logic.tuwien.ac.at...
> Regardless which character you end up to use with the
> [string map ...] approach, there is still one point left:
> You need to prevent to user from being able to edit that
> extra character. That is: the cursor should not be movable
> to the place immediately after it, or select just that one
> char or delete it without also deleting the real linebreak.
> This may turn out to be entirely un-trivial, unless I miss
> something obvious.
>
No, you're not missing anything.. that is completely true.
Furthermore, I want it to be updated dynamically, so I have to put in in an
after command.
If I do that, the complete text widget fills up with pilcrow characters.

I'm afraid the solution of this is beyond my TCL programming skills.

Regards,
Pat.



Relevant Pages

  • Re: moving in a listbox
    ... "Marshall Barton" schreef in bericht ... >>It would be handy if I enter a character the listbox would jump to the ...
    (microsoft.public.access.formscoding)
  • Re: emmy awards
    ... > Well, the telecast was a fiasco, regardless of the winners. ... > a one-line character description and a small clip of each nominee for ...
    (rec.arts.tv.soaps.cbs)
  • Re: NBC: Spy vs. Spy
    ... schreef in bericht ... heh. ... but it would be so out of character for me:) ...
    (rec.music.artists.springsteen)
  • Re: Need Help with Parsing Primitives
    ... The whole problem with characters is that, depending on the character set and the encoding of the actual data, an actual character could span multiple bytes. ... So to determine if a char value, is or is not the same as another char value regardless of case cannot be said, without specifying how the character is encoded, whether or not it consists of multiple chars and so much more. ... it's less efficient to have to convert every char to a string object. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Why "Smith" Died
    ... Virginia Madsen's character? ... The black girl whose boyfriend was killed? ... mechanic who while being one of the gang is somewhat sympathetic? ... Regardless they were interesting so they didn't have to be likeable. ...
    (rec.arts.tv)