Re: [textadept] Autocomplete / Multiedit patch

From: mitchell <c....at.caladbolg.net>
Date: Sat, 30 Jul 2011 18:55:43 -0400 (EDT)

Brian,

Thanks! I'll take a look at this when I get the chance; it will probably
go into the September release.

mitchell

On Thu, 28 Jul 2011, Brian Schott wrote:

> After Neil (Scintilla's creator) gave me a hint about replace_target,
> I was able to get multiple cursors working with autocomplete. After
> applying this patch TA should have auto-completed text added at all
> cursor locations instead of just the first one. This will be very
> useful when combined with snippets.
>
> I've attached a patch that modifies events.lua to use this new
> autocompletion event handler. Modifications to the autocomplete_word
> and adeptsense code were necessary to handle the case where
> buffer.auto_c_choose_single is set to true, as this causes Scintilla
> to skip generating an autocomplete event.
>
> The patch also factors out the process of finding all occurrences of a
> word from the highlight_all function and adds a linker flag to the
> makefile that allows TA to compile successfully on Fedora 15.
>
> --
> You received this message because you are subscribed to the Google Groups "textadept" group.
> To post to this group, send email to textadept.at.googlegroups.com.
> To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/textadept?hl=en.
>
>

mitchell
Received on Sat 30 Jul 2011 - 18:55:43 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:15:04 EST