Idea: Active Edit Section
Forum rules
Do not post any licensing information in this forum.
Do not post any licensing information in this forum.
Idea: Active Edit Section
This just came to me. I haven't fleshed out the implementation yet, but I'll try and explain it.I would like to be able to select a section of code, have it it marked on the far left where the bookmarks go. The light blue would change to another (possibly selectable) color to indicate that the section was part of the "PrimalActiveEdit" section.Here's the twist. This section would be editable/searchable, but the code outside of it would not be (until de-selected).Why?There are times when I need to refactor a section of code and I need to search/find/replace within that section only. Also, I may want to use the Cntrl-F2 or Cntrl-F3 only within that section.Yes, I know there is an option in the Find/Replace to limit the scope to the active select. However, once you start editing again, the selected code in deselected.Does that make sense?
Idea: Active Edit Section
I think so. You want to be able to define an "editable area" and have the remainder of the document be "locked" until you explicitly "unlock" it. We'll add it to the list for consideration!
Idea: Active Edit Section
don:That's it. If you see value in it great, if not I understand it. This is something that would be used for refactoring more than anything else.
- Russ Pitcher
- Posts: 107
- Last visit: Tue Jul 11, 2023 12:38 am
Idea: Active Edit Section
That would probably be a good thing for me as well. Working on some large (4000 lines +) scripts really slows PrimalSense down.
If this could make editing more responsive for the selected region then I'd definitely look forward to it!
If this could make editing more responsive for the selected region then I'd definitely look forward to it!
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Idea: Active Edit Section
Russ, could you send me one of those files to support@sapien.com and point out where it is slow?
I'd like to run it through the profiler and see what we can do about speed.
Alex
I'd like to run it through the profiler and see what we can do about speed.
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Russ Pitcher
- Posts: 107
- Last visit: Tue Jul 11, 2023 12:38 am
Idea: Active Edit Section
Russ:The slowness of PS is a separate issue from the "Active Edit Section" suggestion. If that issue was "fixed", do you believe the "Active Edit Section" would be useful? If so, how?Sometimes I need to convince myself that my own ideas are worthwhile. I welcome your input.
- Russ Pitcher
- Posts: 107
- Last visit: Tue Jul 11, 2023 12:38 am
Idea: Active Edit Section
DJ (?)
I still think that it would be useful to have, it would be handy for those sessions where you want to go back and tidy up a script sub by sub, but I'm not sure that I'd use it that much.
I still think that it would be useful to have, it would be handy for those sessions where you want to go back and tidy up a script sub by sub, but I'm not sure that I'd use it that much.
Idea: Active Edit Section
Yes, dj lurch. Guess which market I serve and guess how tall I am Thanks for the feedback.