facebook

Bug in Find/Replace in CodeMix JS editor

  1. Issue Tracker
  2.  > 
  3. CodeMix
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #582581 Reply

    cruiser
    Participant
    #582582 Reply

    support-swapna
    Moderator

    Steps to replicate :

    1.Create new javascript file.
    2.Type 3 lines in editor:

    window.variable.num1
    window.variable.num2
    window.variable.num3

    3. Press CTRL+F to open Find/Replace dialog
    4. Type “variable” in “Find” text field
    5. Type “anotherVariable” in “Replace with” text field
    6. Press “Replace/Find” button – “window.variable.num1” is now replaced with “window.anotherVariable.num1” – CORRECT!
    7. Press “Replace/Find” button – “window.variable.num2” is now replaced with “anotherVariableariable.num2” – INCORRECT!
    8. Press “Replace/Find” button – “window.variable.num3” is now replaced with “anotherVariableariable.num2” – INCORRECT!

    CodeMix
    Version 2018 CI 2018.4.18
    Build Id: 0.9.0.201804180845

    Spring Tool Suite
    Version: 3.9.1.RELEASE
    Build Id: 201710111144
    Platform: Eclipse Neon.3 (4.6.3)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Bug in Find/Replace in CodeMix JS editor

You must be logged in to post in the forum log in