RIDE icon indicating copy to clipboard operation
RIDE copied to clipboard

Cursor jumps to the begining of the already typed words when pressing CTRL+SPACE

Open Futhark1988 opened this issue 3 years ago • 1 comments

  1. Open RIDE
  2. Navigate to any test case or suite
  3. Go to the Text Edit view
  4. Start typing a keyword e.g Get
  5. Press CTRL+SPACE

Current result: The list of possible keywords are shown, but the cursor jumps to the begining of the keyword. This is unfortunate as one might start typing again to narrow down the list of possible keywords further, but as the cursor jumps to the begining of the word the typing is continued BEFORE the already typed word, thus messing up the search and input.

Expected result: The cursor should remain at the end of the already typed word (e.g. Get), as there can be several keywords with the same begining and typing the next word should narrow down the list of possible keywords.

RIDE version : v2.0b2 ROBOT Framework version : 5.1b1 Python version : 3.10.6 OS: Windows 11 Home 21H2 wxPython: 4.2.0

Futhark1988 avatar Sep 20 '22 22:09 Futhark1988

@Futhark1988 Thanks for the report. I designed the feature like that to get the already existing text. I will change this for version 2.1.

HelioGuilherme66 avatar Sep 21 '22 12:09 HelioGuilherme66

@Futhark1988 Please try the new v2.0.7 where I did some changes in the autocomplete.

It is not perfect, but the cursor position will remain before the existing keyword, but this is needed for the replacing with the new content.

When you call the autocomplete in an empty space, you can type for refining the search.

Now, when we have existing library prefixes, for example like SeleniumLibrary. that content will be kept.

HelioGuilherme66 avatar Aug 13 '23 22:08 HelioGuilherme66

@Futhark1988 This is now fixed in current development version, v2.0.8dev20.

HelioGuilherme66 avatar Oct 10 '23 22:10 HelioGuilherme66