Page 1 of 2
Brackets pair highlight toggle state lost
Posted: 02.08.2020 16:23
by John
When switching between tabs, the brackets pair highlight toggle state is lost. Not sure if this is intentional but looks like a bug to me.
Posted: 03.08.2020 06:25
by Alexey
Cannot reproduce. what is "toggle state"? value of option "bracket_highlight" doesn't change.
Posted: 03.08.2020 06:30
by Alexey
Maybe make a video (e.g. Kazam program).
Posted: 03.08.2020 14:20
by John
I can reproduce like this:
- Have multiple tabs/documents open
- Focus on one tab
- Command Palette... -> brackets: pair highlight: toggle
- Now bracket pairs are highlighted when I move caret to a bracket
- Switch focus to another tab and then back to the original tab
- Bracket pairs are no longer highlighted
Posted: 03.08.2020 15:03
by Alexey
These steps: cannot reproduce too. toggle in 1st tab still works on return to 1st tab.
do you see it on CLEAN Cud w/o plugins?
Posted: 04.08.2020 20:19
by John
Yes, this happens with a clean cudatext-win-x64-1.108.0.0.zip
Posted: 04.08.2020 20:23
by Alexey
I did this (linux+win versions)
- start Cud, no tabs opened
- in 1st tab, enter ( )
- new tab, enter [ ]
- ctrl+tab to 1st tab, "brackets pair highlight toggle", brackets hilited
- ctrl+tab to 2nd tab, brackets not hilited
- ctrl+tab to 1st, brackets hilited - all ok
Posted: 04.08.2020 20:45
by John
Yes, that works.
But not with the following code. I create two .py files with the same content from below, open cudatext, open the files and then repeat the procedure and it fails.
Code: Select all
import hello1
import hello2 as h2
import sys
import datetime
from time import sleep
data = read_data('my data.txt')
data = data[['f1','f2']]
data['a'] = 3
data['b'] = 56
data['c'] = [4,5,6]
Posted: 04.08.2020 21:12
by Alexey
now I have repeated it. tks.
Posted: 04.08.2020 21:22
by Alexey
Thanks; fixed, will be fixed in next update.