Article View: borland.public.jbuilder.java.swing
Article #1120JTextPane & get removed text
From: Envoy
Date: Thu, 08 Apr 2004 10:12
Date: Thu, 08 Apr 2004 10:12
11 lines
1193 bytes
1193 bytes
Hi, I'm programming a text editor and use a JTextpane for it. I added a DocumentListener to it, so that the functions insertUpdate() and removeUpdate() are called everytime when someone inserts or removes text. Now in the function removeUpdate() i somehow need to know which text was removed as a String. Is this possible? Thanks for your help, Andreas
Technical Details
Message-ID:
<MPG.1adf43fc1d2ff271989695@news.individual.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!c108.fem.tu-ilmenau.DE!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,7b9f73afcf4ade3d,start X-Google-Attributes: gid111d45,public X-Google-Thread: 10fd6d,7b9f73afcf4ade3d,start X-Google-Attributes: gid10fd6d,public X-Google-ArrivalTime: 2004-04-08 03:10:28 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!c108.fem.tu-ilmenau.DE!not-for-mail From: Envoy <thenewone@freakmail.de> Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.gui Subject: JTextPane & get removed text Date: Thu, 8 Apr 2004 12:12:32 +0200 Organization: NMIContact Lines: 11 Message-ID: <MPG.1adf43fc1d2ff271989695@news.individual.net> NNTP-Posting-Host: c108.fem.tu-ilmenau.de (141.24.48.108) X-Trace: news.uni-berlin.de 1081419026 91491755 I 141.24.48.108 ([72592]) X-Newsreader: MicroPlanet Gravity v2.50