Skip to content

Refactor Codebase for Modularity, Correctness, and Maintainability #20

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

Merged
merged 18 commits into from
Mar 21, 2025

Conversation

chrisdedman
Copy link
Member

@chrisdedman chrisdedman commented Mar 21, 2025

Description

This pull request refactors the entire codebase, addressing some areas for improved modularity as mentioned in #10 , correctness, and maintainability. The refactoring touches all classes using modern C++. The changes ensure better handling of syntax highlighting, particularly with keyword detection within strings, memory management by using smart pointers when appropriate instead of row pointers and improving code organization for easier future extensions through the codebase.

… Tree headers + change row pointer to smart pointer
…ation functions for better readability and maintainability
…or, LineNumberArea, MainWindow, and Syntax classes for improved readability
@chrisdedman chrisdedman added the enhancement New feature or request label Mar 21, 2025
@chrisdedman chrisdedman self-assigned this Mar 21, 2025
@chrisdedman chrisdedman merged commit a936340 into main Mar 21, 2025
@chrisdedman chrisdedman deleted the refactor branch March 21, 2025 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant