Print Thread
Page 1 of 2 1 2
Problems with typing and displaying tab characters
#64959 11/07/23 02:15 PM
Joined: Jul 2004
Posts: 592
W
Worker Offline OP
Member
OP Offline
Member
W
Joined: Jul 2004
Posts: 592
When editing, pressing Tab enters two spaces no matter where the cursor is. I would prefer to be able to indent using tabs. But when forced to use spaces I would like to see the program insert the number of spaces necessary to get to the next "tab stop".

The program seems to convert all tabs it encounters to spaces without a way to turn this off. Hopefully tab characters will be supported in the future.

When viewing a package (right-click Edit an existing package) that contains tabs when using the Consolas font, things don't look right:
[Linked Image from i.ibb.co]

Strangely, when I open the same code from a file (Open SQL File) everything does look right:
[Linked Image from i.ibb.co]

Version 0.9.1.510 (64 bit) on Windows 10

Last edited by Worker; 11/07/23 02:16 PM.
Re: Problems with typing and displaying tab characters
Worker #64968 11/08/23 09:29 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
Quote
When editing, pressing Tab enters two spaces no matter where the cursor is. I would prefer to be able to indent using tabs. But when forced to use spaces I would like to see the program insert the number of spaces necessary to get to the next "tab stop".
This is a bug. We'll fix it.
Quote
When viewing a package (right-click Edit an existing package) that contains tabs when using the Consolas font, things don't look right:
We'll fix that too!


Marco Kalter
Allround Automations
Re: Problems with typing and displaying tab characters
Worker #65185 12/08/23 08:59 PM
Joined: Jul 2004
Posts: 592
W
Worker Offline OP
Member
OP Offline
Member
W
Joined: Jul 2004
Posts: 592
The second part seems to be fixed, but the first part is still happening in (I think) Alpha 5 (0.9.4.540).

Also, because of Plyxon's behavior to replace *all* tabs with spaces, I can't actually use this program. I have a codebase that is shared with other people and replacing all tabs with spaces would not go over well. I hope that this is just an "early alpha" problem and that normal support for tab characters will be added. Until then I'm happily using PL/SQL Developer.

Re: Problems with typing and displaying tab characters
Worker #65187 12/11/23 09:31 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
The tab size is indeed not yet working. We'll take another look!


Marco Kalter
Allround Automations
Re: Problems with typing and displaying tab characters
Marco Kalter #65196 12/17/23 10:57 AM
Joined: Sep 2003
Posts: 387
London, UK
Member
Offline
Member
Joined: Sep 2003
Posts: 387
London, UK
Personally I think Plyxon could be an opportunity to drop the tab character for good. In 30 years of Oracle development I have only ever seen it used accidentally, by developers who didn't bother to disable some setting and end up entering a random mix of tabs and spaces, messing up their layout for the rest of the team. But if you must support this editor trap, at least make it a non-default option and have a simple way to make tab characters visible.

Re: Problems with typing and displaying tab characters
Worker #65200 12/18/23 09:48 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
The tab positioning has been fixed for the next alpha. By default Plyxon will only use spaces when using the tab key. In the next alpha you can however also choose to save with tab characters.


Marco Kalter
Allround Automations
Re: Problems with typing and displaying tab characters
Worker #65217 12/22/23 10:59 AM
Joined: Nov 2023
Posts: 72
?
Member
Online Content
Member
?
Joined: Nov 2023
Posts: 72
I also have similar problems. Some part of text not appearing. But when I select some part of text or scroll grid some part of text appearing.
I see this bugs in code, data grid and dbms output.
Two examples in attachment.

Attached Files
2023-12-20_12-09.jpg (8.16 KB, 28 downloads)
2023-12-22_11-48.jpg (32.86 KB, 29 downloads)
Re: Problems with typing and displaying tab characters
Worker #65219 12/26/23 10:57 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
Is this in the editor or in the grid? Can you let me know which Editor Font Name and Font Size you are using? Can you also let me know your OS?


Marco Kalter
Allround Automations
Re: Problems with typing and displaying tab characters
Worker #65220 12/26/23 07:31 PM
Joined: Nov 2023
Posts: 72
?
Member
Online Content
Member
?
Joined: Nov 2023
Posts: 72
First screenshot is from grid.
Second from dbms output.
I saw similar problem with code, but i don't have a screenshot.
Plyxon config:
[Linked Image]
Os info:
[Linked Image]

Attached Files
2023-12-26_20-26.jpg (6.26 KB, 38 downloads)
2023-12-26_20-23.jpg (39.38 KB, 38 downloads)
Re: Problems with typing and displaying tab characters
Worker #65222 12/27/23 09:14 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
Thanks. We'll investigate.


Marco Kalter
Allround Automations
Page 1 of 2 1 2

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.068s Queries: 18 (0.020s) Memory: 2.5606 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-01 00:35:47 UTC
Valid HTML 5 and Valid CSS