Allow Non-destructive Ace Commands in View Only FeatureScripts

S1mon
S1mon Member Posts: 4,638 PRO
edited January 2022 in FeatureScript
Right now if I want to search for something in std.fs I have to make a copy of it. If I hit CMD-F in a view only FeatureScript, I get the browser text search which only works for what's on screen - which is not helpful for long bits of code. If I'm in an editable version of a FeatureScript, CMD-F uses the Ace search and looks through the entire text of the current tab.

It seems like a waste to make a copy of std.fs just to be able to search.

[EDIT] Never mind. The problem was I needed to click into the text area. Even though it's view only, if the Ace area doesn't have focus, the search tool that comes up is the browser search not the Ace search.
This request can be ignored.

Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

Comments

  • brooke_spreen
    brooke_spreen Member, Developers Posts: 115 ✭✭✭
    Seeing different behavior in Firefox - CMD-F pulls up the integrated search bar, which successfully searches through the full tab. Browser issue?


    Design Engineer | Anerdgy AG
  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,126 image
    Yeah you shouldn't have to make a copy - also there is the full doc search icon next to the share button
    Senior Director, Technical Services, EMEA