Topic The Code text editor problems

We have two new locations for Keyman technical support:

The Tavultesoft Forums are now read only.


# The Code text editor problems   2016-02-05 21:42:04.460
br Julian Griffin OSL
Hi,

   The text editor in the Code windows of the Layout tab of Keyman Developer 9 is driving me potty.

   Firstly, the cursor does not behave as other text editors that I have used. It does not snap to the end of a line. By this, I mean when the next line is shorter than the current line, the cursor stays in its current line position. I am used to the cursor jumping to the end of the shorter line. Then if the cursor is moved to a longer line, the cursor moves back to its original line position.
And, when the cursor is moved to the end of a line with the cursor keys, it does not wrap to the start of the next line.
Now I understand this may be a design decision, but I am finding it very distracting.

   Second, and far more importantly, the redraw event is not always fired when a change is made to the text. Unfortunately, I cannot reliably reproduce the effect. It tends to happen when text is pasted. But it can happen when typing text. Sometimes the highlighted text remains highlighted after the text has been pasted. Sometimes the characters are not displayed but the cursor position has been updated. The only way this can be fixed, is to force a redraw by switch to another tab then switching back.

   And finally, and most frustrating of all, in the Find & Replace function, 'Replace All' does not always replace all the text to be changed. It does work correctly if each target is done individually but not always with 'Replace All'. And again, I am unable to reproduce this effect reliably, and the text where this effect occurred no longer exists.

Regards
Julian Griffin
# RE: The Code text editor problems   2016-02-06 07:58:47.797
Marc Durdin
Tavultesoft Staff
Thanks for the feedback.

1. Yes, this is a design decision; I'll take this on board as a possible future option for the editor. It's not something we've had feedback on before.

2. This is a bug. I was aware of a bug in earlier builds of Keyman Developer with redraw but thought I'd tracked down and addressed all the redraw issues in the text editor - just to confirm, are you using build 9.0.518.0? I will take another look if so.

3. OK, I have not seen this one previously. I will note it to be investigated.
# RE: The Code text editor problems   2016-02-06 09:20:32.057
br Julian Griffin OSL
Thank you Marc.

   I can confirm that I am using Keyman Developer 9.0.518.0.

   I am also using Windows 10 and a bog standard Lenovo G580.

Regards
Julian Griffin
# RE: The Code text editor problems   2016-02-15 04:30:44.810
br Julian Griffin OSL
Just a comment on one of the effects that I keep stumbling over.

   If I use the cursor left key to roll to the start of a line and go too far, the cursor moves to the end of the previous line. But the right cursor key does not move me back to the start of the original line.

   I know I can use [Home] & [End] but I have to move my hand to get to them. It is not that I am lazy, just that I am in the habit of using the cursor keys more other cursor movement keys.

God bless.
Julian Griffin
# RE: The Code text editor problems   2016-02-16 06:53:24.030
Marc Durdin
Tavultesoft Staff
Understood :)
# RE: The Code text editor problems   2016-02-24 18:53:12.370
Marc Durdin
Tavultesoft Staff
I have just released update 9.0.519.0 of Keyman Developer + Keyman Desktop, available for download from http://www.tavultesoft.com/beta. I believe this largely resolves the redraw issues in the text editor. There are still some less critical glitches in other parts of the user interface.
# RE: The Code text editor problems   2016-02-24 20:44:01.083
br Julian Griffin OSL
The link for Keyman 9.0.519.0, as it appears in your post, resolves to 'Error 404: Page Not Found'. This is because the URL in the post is; 'http://www.tavultesoft.com/beta.?_ga=1.7221106.1320308633.1456306397'.

However, the first part of the URL does function correctly 'http://www.tavultesoft.com/beta'.

God bless.
Julian Griifin