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

Fix some newline issues in enumeration #3383

Merged
merged 5 commits into from
Jan 11, 2024

Conversation

jojo2357
Copy link
Contributor

@jojo2357 jojo2357 commented Jan 6, 2024

Fix #3293
Fix #3300

Added some tests. The way to save #3293 was to not add an item when the current element is inside a required param who is a child or peer of the \item it is within.

#3300 just needed to use the actual \item's optional params, not the first optional param that came to mind.

@PHPirates PHPirates added this to the Next milestone Jan 7, 2024
Copy link
Collaborator

@PHPirates PHPirates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Thanks for adding the test cases.

Add `\item` iff inside a required param which is a child of an enumerate
@jojo2357
Copy link
Contributor Author

Added more test cases, which are all passing B)

# Conflicts:
#	src/nl/hannahsten/texifyidea/editor/typedhandlers/LatexEnterInEnumerationHandler.kt
Copy link
Collaborator

@PHPirates PHPirates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@PHPirates PHPirates enabled auto-merge January 11, 2024 19:51
@PHPirates PHPirates merged commit 7bb87e8 into Hannah-Sten:master Jan 11, 2024
6 checks passed
@jojo2357 jojo2357 deleted the enumerate-newlines branch January 12, 2024 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants