Author Topic: Bad replacing into collapsed selective display  (Read 1505 times)

at5dapa1

  • Senior Community Member
  • Posts: 284
  • Hero Points: 24
Bad replacing into collapsed selective display
« on: July 11, 2019, 10:57:28 AM »
I have this Matlab example (don't know, didn't try if happens in other languages).
Have a file 1.m (Matlab mode) with this content:
Code: [Select]
% comment
% aaa
% aaa = bbb
% sss = aaa
function test
aaa = 1;
end
Activate selective-display (as in 1st picture) with:
  • Multi-level outline
  • Identation
  • Limit nesting to level: 96
  • Collapse items below level: 16
  • Hide documentation comments: checked
  • Hide other comments: checked
  • Expand sub-levels: checked

Inside function test, put cursor before aaa and start quick replace with aaa2.
Continue pressing Y, so that replace reaches inside the hidden comment, it will start replacing wrongly on the first row, see sequence in 2nd picture.

SlickEdit Pro 2018 (v23.0.2.0 64-bit), Win7x64, hotfix_se2302_2_cumulative.zip (Revision: 2)

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Bad replacing into collapsed selective display
« Reply #1 on: July 11, 2019, 11:23:18 AM »
Thanks for the report and the detailed example.  I was able to reproduce this, I will file defect and investigate if this is hotfixable or can be fixed in a future release.