Closed Alexey-T closed 1 month ago
Culprit: hilite plugin. Install it.
Repeated!
So is it a bug in the plugin?
Plugin changes caret pos here
else: # wrap=on
ed_self.set_caret(
0,
line_top,
ed_self.get_line_len(line_btm),
line_btm,
app.CARET_SET_ONE,
options=app.CARET_OPTION_NO_SCROLL
)
#print("wrap on; caret: {}, text: '{}', opts: '{}'".format(ed_self.get_carets(), text, opts))
res = ed_self.action(app.EDACTION_FIND_ALL, text, opts, 0x7FFFFFFF)
#end if wrap
it makes Cud trigger 'caret leaved orig line'. I think how to fix.
And do you know why it only happens in files with >500 lines?
It's a good time to replace "caret left orig line" by "caret left inline block". =P
500 maybe is related to value of HiOccur option?
seems I fixed it.
Fixed, thanks.
ed.insert(0,0,'\n'.join([str(i) for i in range(503)]))
user.json
@pintassilgo Let's post here, coz I dont get notifications about posts in 'discussions' sometimes