Re: JTexPane: Cross-platform chaos
- From: usenet@xxxxxxx (Christian Kaufhold)
- Date: Sun, 28 Aug 2005 14:28:43 +0000 (UTC)
Wired Earp <wiredearp@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> and I have loads of dependant application code prepared already, so I would
> *really* appreciate it if you could look it over and maybe come up with a
> hint. Here's the source code in txt-format:
>
> <url:http://www.wunderbyte.com/editorapplet/EditorTextPane.txt>
Do not use getText() (which returns in platform- etc. specific text), but
getDocument().getText() (which always uses '\n' for newline, and which caret
and selection positions refer to).
Christian
.
- Follow-Ups:
- Re: JTexPane: Cross-platform chaos
- From: Wired Earp
- Re: JTexPane: Cross-platform chaos
- References:
- JTexPane: Cross-platform chaos
- From: Wired Earp
- JTexPane: Cross-platform chaos
- Prev by Date: Re: JTexPane: Cross-platform chaos
- Next by Date: Re: JTextPane woes...
- Previous by thread: Re: JTexPane: Cross-platform chaos
- Next by thread: Re: JTexPane: Cross-platform chaos
- Index(es):