View Issue Details

IDProjectCategoryView StatusLast Update
00306632.x IDE BugsCode EditorPublic2019-05-15 14:17
ReporterScott DunbarAssigned ToAlan Savage 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version2.2.2 
Target Version2.2.3Fixed in Version2.2.3 
Summary0030663: Code Editor: Code Snippets will select the incorrect part of text if the text contains the string to be selected
 When selecting a custom snippet in the code editor, if any part of the given snippet contains the string that is surrounded by "| |" then the first instance of that string will be selected, not the part that is in the "| |"

T - Test:expression 123 |press|
It is expected that when added to the the code editor, the highlighted word will be "press". However, the code editor highlight "press" inside the word expression

Steps To Reproduce1. Add attached snippet.txt to %ProgramData%\GameMakerStudio2\User\
2. Launch GMS2
3. open a script
4. right click on the text editor
5. open code snippets > select Test
6. observe added text but that the wrong section has been highlighted
2.x IDE Found In2.2.2.390
2.x Runtime Found In2.2.2.302
2.x IDE Verified In9.2.1.1817
2.x Runtime Verified In9.9.1.1441


Scott Dunbar

2019-04-02 10:03


snippets.txt (33 bytes)
T - Test:expression 123 |press|
snippets.txt (33 bytes)
SnippetSelection.png (1,560 bytes)
SnippetSelection.png (1,560 bytes)