Windows 7 x64
PB 5.21 x64
If you press ENTER halfway through a line (usually accidentally) then try to undo with Ctrl+Z it doesn't undo correctly.
Before:
pos=FindString(uri, "//")
(place cursor for example after the = symbol and press ENTER)
During:
pos=
FindString(uri, "//")
(undo this accidental ENTER by pressing CTRL+Z)
After:
pos=
FindString(uri, "//")
Cursor returns to previous line (after the = symbol) but the "FindString" part doesn't move back to where it was.
Undo ENTER
- Bananenfreak
- Enthusiast
- Posts: 519
- Joined: Mon Apr 15, 2013 12:22 pm
Re: Undo ENTER
+1. This worried me more than once.
Sry, I thought this was the Wishlistsection. Anyway, Confirmed ^^
Sry, I thought this was the Wishlistsection. Anyway, Confirmed ^^
Re: Undo ENTER
> the "FindString" part doesn't move back to where it was
It works correctly here, although I'm using the 32-bit version on a 64-bit Win 7.
It works correctly here, although I'm using the 32-bit version on a 64-bit Win 7.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: Undo ENTER
Did you try hitting [Ctrl+z] multiple times?
Works on x86.
Works on x86.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Undo ENTER
It works correctly if I press CTRL+Z twice. Is this intended?
Re: Undo ENTER
Yes, it is a per character history. Request your topic is moved out of Bugs.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Undo ENTER
For me I just hit Ctrl+Z once to restore the line. Not per character.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: Undo ENTER
It will also remove any auto-indentation on the first CTRL+Z. Per character? Surely this is not desirable?