# Regression: Script Editor Duplicate Highlighting

**URL:** <https://discourse.mcneel.com/t/regression-script-editor-duplicate-highlighting/182834>\
**Category:** Grasshopper Developer\
**Tags:** windows, python, scripteditor\
**Created:** [May 27, 2024, 8:32am UTC](https://discourse.mcneel.com/t/regression-script-editor-duplicate-highlighting/182834 "2024-05-27T08:32:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndersDeleuran](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andersdeleuran/32/476683_2.png) [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Post date:** [May 27, 2024, 8:32am UTC](https://discourse.mcneel.com/t/regression-script-editor-duplicate-highlighting/182834/1 "2024-05-27T08:32:56Z")

</div>

Hi @eirannejad,

I’m gonna start making individual script editor topics from now on, as I’ve kinda lost track of the [monster feedback topic](https://discourse.mcneel.com/t/rhino-8-grasshopper-script-editor-design-feedback/163513). Continuing the [issues with duplicate highlighting](https://discourse.mcneel.com/t/rhino-8-grasshopper-script-editor-design-feedback/163513/156), here are some explicit regressions:

 ![2024-05-27 10_15_36-Script Editor](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/9/d/f9d8b0e1c07fcf5daecbe755b76d7ac6964cdd1c.png)

That is:

1. Selected text highlighting is barely visible to (to me) and hard to distinguish from duplicate highlighting.
2. Duplicate highlighting is barely visible to (to me).
3. Duplicate highlighting is not case sensitive (a problem in Python).
4. Duplicate spaces are not highlighted (see [post](https://discourse.mcneel.com/t/regression-script-editor-duplicate-highlighting/182834/3)).

Best,

Anders

---

<div class="post-metadata">

**Author:** ![Alain](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/alain/32/512812_2.png) [@Alain](https://discourse.mcneel.com/u/Alain)\
**Post date:** [May 27, 2024, 11:47am UTC](https://discourse.mcneel.com/t/regression-script-editor-duplicate-highlighting/182834/2 "2024-05-27T11:47:48Z")

</div>

Unfortunately #3 is a problem with the editor that will need a special hack.  
See [notes](https://mcneel.myjetbrains.com/youtrack/issue/RH-76132/Highlight-text-matching-selected-in-the-editor#focus=Comments-74-424623.0-0)

---

<div class="post-metadata">

**Author:** ![AndersDeleuran](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andersdeleuran/32/476683_2.png) [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Post date:** [May 27, 2024, 11:56am UTC](https://discourse.mcneel.com/t/regression-script-editor-duplicate-highlighting/182834/3 "2024-05-27T11:56:09Z")

</div>

Cheers Alain, I forgot about the Youtrack, my bad. Also, I forgot to report that the new editor does not highlight duplicate spaces (i.e. as seen in the old Youtrack screenshots):

 ![2024-05-27 13_55_03-Grasshopper - 240421_PolylineOffset_NewEditorSlow_00](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/1/2/112aa1b29a7c91e0f00ac099cf9b15646677929d.png)
