🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.opentoolsapi
Article #58

Finding the closest word!

#58
From: Atmapuri
Date: Fri, 06 Jun 2008 14:03
13 lines
1223 bytes
Hi!

In which way could I obtain the word closest to the
cursor in the currently open file in the editor?

I guess I would at least need cursor position
and access to the text buffer of the currently edited
file. 

I can see in Castalia that this is possible. 

Thanks!
Atmapuri
Technical Details
Message-ID: <484943a2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,c6f0392dc84068d7,start
X-Google-Attributes: gid10c3df,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Atmapuri" <janez.makovsek@usa.net>
Newsgroups: borland.public.delphi.opentoolsapi
Subject: Finding the closest word!
Date: Fri, 6 Jun 2008 16:03:11 +0200
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
NNTP-Posting-Host: 83.222.44.20
Message-ID: <484943a2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1212760994 83.222.44.20 (6 Jun 2008 07:03:14 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail