Re: [textadept] New module: TextRedux

From: mitchell <c....at.caladbolg.net>
Date: Fri, 24 Feb 2012 09:14:03 -0500 (Eastern Standard Time)

Hi,

On Wed, 22 Feb 2012, Nils Nordman wrote:

> On Wed, Feb 22, 2012 at 10:30 AM, HyperHacker <hyperhac....at.gmail.com> wrote:
> Now I'm trying to hack the buffer list to work like Geany's (single
> click to select the buffer for the current view - not the view showing
> the buffer list), but it seems like it isn't possible to refresh a
> buffer that isn't the current one? What's that about...
>
>
> Without any exact details I'll speculate that you're hitting the limitation that you cannot operate on a buffer/view that is
> not the current one. That's not related to TextRedux, but rather a constraint in Textadept.

Correct. Scintilla, the editing component, cannot do any operations on a
buffer that is not shown in the current view. Its API has calls of the
form SCI_CALL(SCI_VIEW, SCI_OPERATION, param1, param2), where view is the
widget itself, not the buffer.

mitchell
Received on Fri 24 Feb 2012 - 09:14:03 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:31:06 EST