Processing: When typing a void function the cursor gets misaligned

Created on 30 Oct 2018  路  5Comments  路  Source: processing/processing



Description


When I use void before any draw, setup, or settings the cursor gets misaligned

Expected Behavior


It is expected to have the cursor to be in the correct position after typing void but gets misaligned somehow.

Current Behavior


The cursor gets misaligned after typing void

screenshot 2018-10-30 08 57 21

Steps to Reproduce


  1. type void as usual
  2. start typing setup
  3. once you press the P watch the cursor go out of it's way

Your Environment



  • Processing version: 3.4
  • Operating System and OS version: Windows 10
  • Other information:

Most helpful comment

Using MS Gothic the cursor missaligned with both pdex.completion.trigger=false and true. After further testing, Lucida Console, MingLiU-ExtB, MingLiU-HKSCS-ExtB, NSimSun, OCR A Extended, SimSun, SimSun-ExtB, all produce the same bug. Maybe it's due to a difference between character size and character symbol size.

All 5 comments

This doesn't happen on macOS. Guessing this is related to the code-completion feature that is being tested. You could try setting pdex.completion.trigger=false in preferences.txt and see if this makes this artifact go away.

I just looked at it and it is already false, I still have no idea why it does it.

I can't seem to reproduce the bug either. Neither having pdex.completion.trigger=true nor false doesn't change the behaviour of the IDE.

I have also experienced this alignment problem before. Don't know what triggered it. Currently, I am able to reproduce this by setting my font to MS Gothic (pdex.completion.trigger is false). @TheErrorScript may I know what font are you using?

Using MS Gothic the cursor missaligned with both pdex.completion.trigger=false and true. After further testing, Lucida Console, MingLiU-ExtB, MingLiU-HKSCS-ExtB, NSimSun, OCR A Extended, SimSun, SimSun-ExtB, all produce the same bug. Maybe it's due to a difference between character size and character symbol size.

Was this page helpful?
0 / 5 - 0 ratings