1. Ashutosh Varshney
  2. PowerBuilder
  3. Thursday, 16 September 2021 16:20 PM UTC

Hello,

This has been bothering me for quite a while now. PowerBuilder editor does not seem to render W and M correctly when  they are followed by a space or punctuation. A part of the alphabet gets cut off. Uppercase or lowercase does not matter and it gets more pronounced with monospaced fonts.

Here is a sample rendering of my code in the IDE.

Here is my code:

Long ll_row, ll_im, ll_pW, ll_M

ll_row = dw_1.GetRow ()
ll_im = dw_1.GetItemNumber (ll_row, 'slx_code')
ll_pW = dw_1.GetItemNumber (ll_row, 'slx_wnum')

 

I am on PowerBuilder 2021 (1228) but this has been an issue with 2017 as well.

Any ideas what to do? 

 

Thanks.

 

Accepted Answer
Ashutosh Varshney Accepted Answer Pending Moderation
  1. Tuesday, 21 September 2021 19:51 PM UTC
  2. PowerBuilder
  3. # Permalink

A new code editor that supports modern editing features is planned for PowerBuilder 2022.

https://www.appeon.com/developers/roadmap

 

Comment
There are no comments made yet.
Ashutosh Varshney Accepted Answer Pending Moderation
  1. Friday, 17 September 2021 17:19 PM UTC
  2. PowerBuilder
  3. # 1

Chris, Armeen, Appeon,

I hope you can grant us our wish for a PowerBuilder editor which is more like VS with or without "Dark theme" wink

 

Please grant me my wish just this once - pleaseguy | Meme Generator

 

 

Comment
  1. Shekar Reddy
  2. Sunday, 19 September 2021 19:31 PM UTC
Modern Editor for PowerBuilder is on the road map already
  1. Helpful 1
  1. Shekar Reddy
  2. Sunday, 19 September 2021 19:36 PM UTC
  1. Helpful 1
  1. Ashutosh Varshney
  2. Tuesday, 21 September 2021 19:48 PM UTC
That's nice to hear. Thanks Shekar.
  1. Helpful
There are no comments made yet.
Brad Mettee Accepted Answer Pending Moderation
  1. Friday, 17 September 2021 15:53 PM UTC
  2. PowerBuilder
  3. # 2

We use FixedSys 9pt. Here's what your code looks like.

(pardon the background color, bright white is hard on my eyes)

 

Comment
  1. Miguel Leeuwe
  2. Friday, 17 September 2021 15:56 PM UTC
One day we`ll get `dark-mode` :)
  1. Helpful
  1. Brad Mettee
  2. Friday, 17 September 2021 16:16 PM UTC
I tried, a long time ago, to set Windows to dark mode, but portions of PB just ignore it. Too jarring that way, so I gave up on it.
  1. Helpful
  1. Ashutosh Varshney
  2. Friday, 17 September 2021 17:08 PM UTC
Thanks Brad. Thanks Miguel.
  1. Helpful
There are no comments made yet.
Matt Balent Accepted Answer Pending Moderation
  1. Thursday, 16 September 2021 18:27 PM UTC
  2. PowerBuilder
  3. # 3

This has been around for a loooong time.  Certain fonts are better than others.  I've always used a monospaced font similar to John's recommendation.

Comment
  1. Miguel Leeuwe
  2. Friday, 17 September 2021 15:57 PM UTC
don`t count on it
  1. Helpful
  1. Miguel Leeuwe
  2. Friday, 17 September 2021 15:58 PM UTC
on the other hand Appeon might one day totally re-vamp our editor with a C sharp like editor, crossing fingers
  1. Helpful
  1. Ashutosh Varshney
  2. Friday, 17 September 2021 17:02 PM UTC
We all would love that Miguel. Crossing fingers 2
  1. Helpful
There are no comments made yet.
Mark Goldsmith Accepted Answer Pending Moderation
  1. Thursday, 16 September 2021 18:02 PM UTC
  2. PowerBuilder
  3. # 4

Hi Ashutosh,

You may wish to have a look at my previous posting, "Radio button control with Left Text not displaying properly" as there were other comments in there related to font issues in the editor and Chris had made some other suggestions as well.

I ended up going with Source Code Pro which eliminated the issues I was experiencing.

HTH...regards,

Mark

Comment
  1. Ashutosh Varshney
  2. Friday, 17 September 2021 13:21 PM UTC
Thank you Mark. That was quite helpful. Source Code Pro did not work for me. I have increased the font size which makes it less obvious.
  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Thursday, 16 September 2021 18:01 PM UTC
  2. PowerBuilder
  3. # 5

Hi, Ashutosh - 

A while ago I switched the PB Editor Font over to the monospaced Consolas TrueType font, 11 point. Example below:

I like it. It has a clean, easy-to-read look and does not appear to crop any W's (that I can see).

Do you have DPI scaling set to 100% or something different?

Best regards, John

Comment
  1. Ashutosh Varshney
  2. Friday, 17 September 2021 13:19 PM UTC
Thanks John.

Scaling is set to 125% (default). I did change it to 100% and everything became sharper but smaller. I am using JetBrains Mono 9pt. When I increased it to 10pt, the cropping became less obvious. I hope Appeon fixes this issue.
  1. Helpful
  1. Roland Smith
  2. Friday, 17 September 2021 14:16 PM UTC
I also use Consolas 11.
  1. Helpful
  1. Ashutosh Varshney
  2. Friday, 17 September 2021 17:22 PM UTC
Thanks Roland.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 16 September 2021 16:44 PM UTC
  2. PowerBuilder
  3. # 6

Hi Ashutosh;

  FWIW:  I just change the Font under the "Design => options" menu when the PowerScript editor is active and that fixes this issue for me. The Tahoma font default is not the best for rendering all characters. Nor for optimal code alignment (ie: comments on RH-side).

Regards ... Chris

Comment
  1. Ashutosh Varshney
  2. Thursday, 16 September 2021 16:51 PM UTC
Thanks Chris.

I have tried it with multiple fonts but for me nothing helps. I am not using Tahoma. What am I doing wrong?
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 16 September 2021 17:40 PM UTC
The new Microsoft MS-Office and VS standard is "Segoe UI". Have you tried that (do not use bold)?
  1. Helpful
  1. Ashutosh Varshney
  2. Thursday, 16 September 2021 17:58 PM UTC
Yes. But that does not help either.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.