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

Implement the history navigation buttons #396

Open
tomlin7 opened this issue Oct 7, 2024 · 9 comments
Open

Implement the history navigation buttons #396

tomlin7 opened this issue Oct 7, 2024 · 9 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed text editor Related to text editor's features

Comments

@tomlin7
Copy link
Owner

tomlin7 commented Oct 7, 2024

Feature

The history navigations are placed next to breadcrumbs

image

These shall navigate user's cursor positions

Notes

  • Implementation of history navigation buttons: src/biscuit/editor/breadcrumbs/history_navigation
  • Store the history for each editor within the TextEditor or TextEditor.text instance itself: src/biscuit/editor/text
  • active editor instance is accessible within the history navigation class as self.base.editorsmanager.active_editor. Note that the active_editor.content will be the TextEditor instance and active_editor.content.text will be the Text widget instance.
@tomlin7 tomlin7 added the enhancement New feature or request label Oct 7, 2024
@tomlin7 tomlin7 self-assigned this Oct 7, 2024
@tomlin7 tomlin7 added text editor Related to text editor's features help wanted Extra attention is needed labels Oct 7, 2024
@abhishek-singh0710
Copy link

Hi, I would like to work on this issue.
Could this be assigned to me?
Thanks.

@tomlin7
Copy link
Owner Author

tomlin7 commented Oct 9, 2024

Hi, welcome to the community!
I hope you have used the cursor history navigation in Visual Studio Code, this issue is about achieving the same functionality.
Please let me know in case you need further clarification.

image

@abhishek-singh0710
Copy link

Thanks, I'll try my best to implement this.

@abhishek-singh0710
Copy link

Hi,
I am not sure if this is due to some error on my side but I cannot set up this project on my local machine.
At first it was due to a version of python so I used the command poetry env use python313 to use python 3.13.0
Now when I move to the src and do poetry install it gives the following error-
Screenshot 2024-10-10 151524
Please help me with this

@tomlin7
Copy link
Owner Author

tomlin7 commented Oct 10, 2024

@abhishek-singh0710 thanks for pointing this out, lock file needed updates for new python version. Now the error has been resolved in #407

@abhishek-singh0710
Copy link

I'm sorry if this is trivial but I am still facing issues for pywinpty
Screenshot 2024-10-10 175643

@abhishek-singh0710
Copy link

I've installed Rust and have put cargo in my path variables also

@tomlin7
Copy link
Owner Author

tomlin7 commented Oct 10, 2024

@abhishek-singh0710 this seems to be a common issue as it's listed in many times in the web. I was able to reproduce this issue with python 3.13, but this wasn't causing trouble in 3.12.x.

Since 3.13 is very new, pywinpty hasn't provide the wheels yet. See andfoy/pywinpty#451
I suggest you roll back python to 3.12.x for now, as many libs have not updated yet.

I'm marking this project as unsupported for 3.13 until pywinpty issue gets resolved.

@shirsakm
Copy link

pywinpty hasn't provide the wheels yet

Just a heads up, this is the case for google-generativeai as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed text editor Related to text editor's features
Projects
None yet
Development

No branches or pull requests

3 participants