easy-code-formatter-styles icon indicating copy to clipboard operation
easy-code-formatter-styles copied to clipboard

[Bug] Format text as code Button clicked again leads to adding ln numbers while there are already ln numbers

Open DevTKSS opened this issue 11 months ago • 0 comments

Current Behaviour

Clicking again on Format text as code is adding a new line number, starting at 1. at the first position of that line infront of the existing line number

Expected Behaviour

Possible, to be expected Behaviours would be:

Option 1: Clear Line from code formatting Option 2: Recognize there is already a line number in that line and do not add one again

How to reproduce this

  1. Follow the Advises from Help>Try with some sample code Add Test Data
  2. Afterwards, select one of the code formatted lines again and click the Format text as code Button again.

DevTKSS avatar Mar 16 '25 09:03 DevTKSS