[Geany] autocompletion removing existing word part - Re: Detecting symbols

Enrico Tröger enrico.troeger at xxxxx
Tue May 19 20:35:35 UTC 2009


On Tue, 19 May 2009 22:20:54 +0200, Enrico wrote:

>On Tue, 19 May 2009 12:24:40 +0100, Nick wrote:
>
>>On Mon, 18 May 2009 19:13:44 +0200
>>Enrico Tröger <enrico.troeger at uvena.de> wrote:
>>
>>> >Furthermore, there is one more thing, that I once noted on this
>>> >list, but wasn't addressed. Let's take following examples: there is
>>> >symbol SomeClassWithLongName and I have already typed WithLongName.
>>> >If I start typing Some right before WithLongName and I get the
>>> >following:
>>> >
>>> >SomeWithLongName
>>> >
>>> >I'll get a completion suggestion, which I will choose. But then it
>>> >will turn into SomeClassWithLongNameWithLongName. Is it possible
>>> >for geany to be smarter and simple add Class and nothing else?
>>> 
>>> Sure, but as usual it needs someone to write the code.
>>
>>Now done in SVN. Actually it removes any existing word part to the
>>right.
>
>Cool. I didn't expect Scintilla provide this feature already. I
>would have ended up in writing this on my own and then realising
>Scintilla can do it as well and then getting frustrated :).

Ah, forgot again to finish my message before sending it:

I'm not sure whether we need a pref for it. I'd say let's use it for
some time and then decide. So far after about an hour of using this
change, I got three times into a replacement where more were deleted
than I wanted. But I think this is just a matter of time to get used to
the changed behaviour. Let's see.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20090519/f3d230be/attachment.pgp>


More information about the Users mailing list