Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor jumps into search area with TA 11.2b2 #76

Closed
snoopy opened this issue Jun 10, 2021 · 4 comments
Closed

Cursor jumps into search area with TA 11.2b2 #76

snoopy opened this issue Jun 10, 2021 · 4 comments

Comments

@snoopy
Copy link
Contributor

snoopy commented Jun 10, 2021

Using TR with TA 11.2 beta 2 the cursor jumps into the user search area when typing text in lists.
I thought the problem might lie with list:_refresh() but changes there do nothing to stop this behavior. Can you check this and see if it is the same for you?

@rgieseke
Copy link
Owner

Yes, I briefly tested the latest beta and stayed on a previous build.
I didn't had time yet to look into the changes in Textadept.

@rgieseke
Copy link
Owner

There have been updates for selection handling and positions as well as an update to latest Scintilla.

@rgieseke
Copy link
Owner

It's the handling of buffer positions in Textadept's history module:

https://github.com/orbitalquark/textadept/blob/1e693f06a6556b87ed4f56a3635a0c10640b1f92/modules/textadept/history.lua

When I add this in Textredux the list seems to work as before, not sure yet if this the best solution:

events.connect(events.MODIFIED, function()
  if buffer._textredux then return false end
end, 1)

@rgieseke
Copy link
Owner

Fixed in main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants