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

Refactor session #25

Closed
RaphaelPour opened this issue May 16, 2020 · 0 comments · Fixed by #34
Closed

Refactor session #25

RaphaelPour opened this issue May 16, 2020 · 0 comments · Fixed by #34
Labels
Refactoring Clean up code and make it more robust

Comments

@RaphaelPour
Copy link
Owner

RaphaelPour commented May 16, 2020

The session file grew while reaching the first milestone with functions of various kinds:

  • FileIO: load, save
  • Linebuffer manipulation: add/remove char/line,...
  • Cursor positioning: move, change offset,...

Altough all functions work on the session structure it would be nice to split the functions across multiple files. Maybe it is useful to group topic related properties of the session struct into smaller structs which are defined inside the new files. Cursor position stuff for example.

@RaphaelPour RaphaelPour added the Refactoring Clean up code and make it more robust label May 16, 2020
@RaphaelPour RaphaelPour mentioned this issue May 22, 2020
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactoring Clean up code and make it more robust
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant