Twistpad Carthago Software forums / Twistpad /  

 Twistpad 3.11 auto indent bug

 
Donald Johnson
Member
#1 | Posted: 8 Sep 2022 11:43Reply Quote  
In Twistpad 3.11 auto indent on new line inserts an extra tab (or spaces).

before:
------------
abc|

after:
------------
abc
|

Preferences | Editor | Indent and Tabs | [*] Auto indent on new line

I have tried it with tab characters and spaces instead of tabs, with and without auto detection, and with and without Smart tabs -- the result is the same.

Thanks,
Donald.

Andre Santos
Carthago
Moderator
#2 | Posted: 8 Sep 2022 16:23Reply Quote  
Hi Donald,

I'm not sure if I understand the issue you report on auto indent on new line.
Auto indent aligns the cursor with indentation of the previous line:
.....Line 1<press enter>
.....| <cursor goes here

With the option switched off:
.....Line 1<press enter>
| <cursor goes here

Additionally you can use the <SHIFT> or the <CTRL> down while pressing enter
With CTRL+ENTER it will create a new live above the present one.
with SHIT+ENTER (anywhere on the line, it will create a new line below without breaking the current one) -> in fact i can see an issue here that it will always have an extra space, is this the issue?)

Thanks

André Santos
Carthago Software Support
https://www.carthagosoft.net

Donald Johnson
Member
#3 | Posted: 8 Sep 2022 19:42Reply Quote  
Yes, that is what I'm seeing -- the extra space/tab when I key Shift+Enter.

Thanks,
Donald.

Andre Santos
Carthago
Moderator
#4 | Posted: 9 Sep 2022 17:57Reply Quote  
Hi,

Donald Johnson:
Yes, that is what I'm seeing -- the extra space/tab when I key Shift+Enter.

Ok, fixed for next version.

Thanks!

André Santos
Carthago Software Support
https://www.carthagosoft.net

Twistpad Carthago Software forums / Twistpad /
 Twistpad 3.11 auto indent bug

Your Reply Click this icon to move up to the quoted message

BB code for the Bold Style  BB code for the Italic Style  BB Code for the Picture  BB code for the URL  

 
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

 

  Powered By minibb