Coteditor: After input 9 Space from begin of the line, cursor will jump to the begin

Created on 19 Feb 2019  路  3Comments  路  Source: coteditor/CotEditor

Environment

  • CotEditor: 3.7.0 (342)
  • System: macOS Version 10.14.3 (Build 18D109)
  • Language: English

Short Description

Cursor will jump to wrong position when input several space from begin of line.

Steps to Reproduce the Issue

open a new window, just input space, when input about 9 space, cursor will jump to the begin of the line

Expected Result

Cursor in the right place

bug

Most helpful comment

I put a screen recording in youtube, according the recording, it's not the cursor problem, it's the space is missing, please note the column number at left bottom, when I input Space, it up to 12 and back to 1 when I move the mouse.

Watch the video

All 3 comments

Thank you for the report.
However, under my environment, it works correctly.
Please inform me any other conditions that may relate to the behavior.
Uploading a recorded movie also helps me.

I put a screen recording in youtube, according the recording, it's not the cursor problem, it's the space is missing, please note the column number at left bottom, when I input Space, it up to 12 and back to 1 when I move the mouse.

Watch the video

Oh, I got it! Thank you.
This is a bug that relates to "Trim trailing whitespace on save" option.
I'll fix it in the next version that may be released in this weekend.
Please be patient a while.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

peinan picture peinan  路  3Comments

andylima picture andylima  路  3Comments

1024jp picture 1024jp  路  5Comments

thom-ek picture thom-ek  路  4Comments

bluemix picture bluemix  路  5Comments