View Issue Details

IDProjectCategoryView StatusLast Update
00300052.x IDE BugsCode EditorPublic2018-10-26 10:46
ReporterDanAssigned ToAlan Savage 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformOSWindows 10OS VersionPro x64
Product Version2.1.4 
Target Version2.2.1Fixed in Version2.2.1 
Summary0030005: Code Editor: Ctrl+F moves your cursor location as soon as a match is found, should allow the user to move when ready
DescriptionWithin the Code Editor in GMS2, Ctrl+F moves your cursor location as soon as a match is found, which means your cursor / position in the script can jump around as the editor finds the first match, which may be up at the top of your script or nowhere near where you were looking. Users have found this to be frustrating.

This differs from 1.4, which simply highlighted all matches of the term and left it up to the user to scroll to the one they cared about.
Steps To Reproduce1. Import the attached sample.
2. Open the script.
3. Scroll all the way down and place your cursor where directed.
4. Ctrl+F and start typing "here".
5. Observe as soon as you've typed "h" (just that one character) the code editor has scrolled all the way back to the top line of the script.

Repro: 100%
TagsCodeEditor, IDE
2.x IDE Found In2.1.4.295
2.x Runtime Found In2.1.4.218
2.x IDE Verified In2.2.1.355
2.x Runtime Verified In2.2.1.268

Activities

Dan

2018-09-06 17:27

Adminstrator  

testctrlF.yyz (19,152 bytes)

Alan Savage

2018-10-01 12:26

Developer   ~0061685

Last edited: 2018-10-01 12:35

View 3 revisions

Suggest this should be changed to navigate to the first match after current caret position (instead of from the top of the document) - both Visual Studio & Sublime Text function like this.
Notepad++ does not (requires a click to navigate to the first match after caret position) which is also frustrating to some users and I find it quite annoying personally.
Find next should always be navigating to the next match after caret position either way, IDE is just wrong in this.

Alan Savage

2018-10-02 16:53

Developer   ~0061699

updated to function as visual studio etc, ie navigate to first match from caret position. Can be made to function as GMS1 if you really want...(although it wont be as good)