Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Thread Tools Display Modes
Old 03-27-2019, 09:53 AM   #1
Human being with feelings
mespotine's Avatar
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,117
Default IDE looses exact lengthcount, with Umlauts (FIXED)

Yesterday, I stumbled over a problem in the IDE, that took me a while to get.

It seems like, that the IDE messes up it's count for the length of a line, when the line exceeds 128 characters and has Umlauts in them.
When I'm at the beginning of the line, everything is fine. When I jump to the end of the line, the inserted character is "one off".
The longer the line, the more this odd offset becomes.

It happens also, when I move the cursor toward around the 127th/128th character, starting from the beginning of the line and hitting the left key until I reach that point.
After that, the offset in this line remains, until I hit the home-key.

I think, it is a Unicode-problem somehow, that confuses the editor in itself.

I attached a testscript with problematic usecases.

I found it on Windows 7, using Reaper 5.965 with SWS and JS-extension-plugin.

Edit: maybe interesting: I use german keyboard-layout. The ö and ä are next to the l key. ü is next to the p key.
Attached Files
File Type: lua test-newlines-bugreaper.lua (2.0 KB, 25 views)
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 06:16 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.