Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Text find in all resources #119

Closed
TheExDeus opened this issue Jun 25, 2014 · 10 comments
Closed

Feature request: Text find in all resources #119

TheExDeus opened this issue Jun 25, 2014 · 10 comments

Comments

@TheExDeus
Copy link

Not a bug, but a feature which would be massively useful would be doing search in all code resources. GM allowed searching in all scripts only (at least in GM8.1) and LGM doesn't allow searching globally at all. This is very useful for debugging, like when you need to find all instances of "d3d_set_culling" in the project.

@RobertBColton
Copy link
Collaborator

@TheExDeus I have begun laying the foundation as of 8eb131f

The feature is intended to work as we've discussed on the forums.
http://enigma-dev.org/forums/index.php?topic=2228.0

@RobertBColton
Copy link
Collaborator

@IsmAvatar I would like to prod you about making GmTreeGraphics work for both the resource tree and the search results tree. Josh was simply wanting to copy the behavior and allow the same nodes in both trees, but I don't think it is smart at all to use ResNode as a search result node when it has all the unnecessary overhead.

We plan to put the following tree proposed by @JoshDreamland into the new tab in the new LGM also pictured below titled "Search Results"
Tree Search
New LGM

I would also like to ask your proposal on making the search result nodes open the correct event, action, or moment frame with their relevant resource.

Everything else is already completed, the frames, the regexp matcher by @JoshDreamland, we just need to discuss how to layout this new tree.

@IsmAvatar
Copy link
Owner

Not sure what kind of input you need fro me. Sounds like you have a plan.

I do, however, feel that this idea hasn't been fleshed out completely enough yet or not to my satisfaction.

I would like to discuss this with you guys (preferably not here so as not to flood the ticket with chatter)

As far as new nodes go, I agree with you, a new node object would probably make more sense to prevent introducing all the overhead from ResNode and to prevent polluting ResNode with additional functionality. If they share functionality, to reduce duplicate code you may want to make a parent class for both of them.

@RobertBColton
Copy link
Collaborator

@IsmAvatar @TheExDeus The preview of the new search functionality has gone live in the newest LGM release and 26d63db, it is however not completed. The following needs done before it is finished.

  • Search All Resources
  • Add Clipboard Functions
  • Allowing Clicking on Nodes
  • Result nodes should have scope, eg. open the correct event/moment/action and go to the correct line
  • Obtain IsmAvatar Approval

Please see the forum topic for the download.
http://enigma-dev.org/forums/index.php?topic=2269

@RobertBColton
Copy link
Collaborator

@IsmAvatar and @TheExDeus As of f9972c2 and a101690 Objects and Timelines are both searchable now.

@RobertBColton
Copy link
Collaborator

Search In All Resources

@IsmAvatar @TheExDeus As of the last update the search feature is basically completed, see the forum for more details.
http://enigma-dev.org/forums/index.php?topic=2269.msg23589#new

I guess the only thing now is for @IsmAvatar to sign off on this.

@IsmAvatar
Copy link
Owner

You have my blessing. If I think of any improvements now, they shouldn't be hard to implement. Good work.

@RobertBColton
Copy link
Collaborator

@IsmAvatar Thank you, as of 2604155 we also have preferences added to the preferences frame for the search highlighting and I've also addressed more of egofree's exceptions, but I am waiting for the next release until me and Josh finish this new icon pack.

Preferences Frame Revamp

@RobertBColton
Copy link
Collaborator

@IsmAvatar @TheExDeus Final version released, just testing and stability now.
http://enigma-dev.org/forums/index.php?topic=2269.msg23627#msg23627

@RobertBColton
Copy link
Collaborator

This feature is completely finished and everyone loves it, I've fixed all bugs in it I've found. I also updated the Portable ZIP with this new LGM.
http://enigma-dev.org/forums/index.php?topic=2364

I am going to close this, if any other issues crop up with the feature or you think of something new then open a new ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants