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

LT-21761 & LT-21674: Handle Before, Between, After and more #29

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

mark-sil
Copy link
Contributor

@mark-sil mark-sil commented Apr 24, 2024

Handle Before, Between, After, and DisplayInSeparateParagraphs. Remaining tasks:

  • Tables still need indenting.
  • The first line after a table is shifted to the left. A new ‘continuation’ style is needed when we start a new paragraph.
  • Before, Between, and After might need to use a different style.

Change-Id: I784a31d32b4c1b920141db90eb10d76d2f502ea4


This change is Reviewable

Handle Before, Between, After, and DisplayInSeparateParagraphs.
Remaining tasks:
- Tables still need indenting.
- The first line after a table is shifted to the left. A new
‘continuation’ style is needed when we start a new paragraph.
- Before, Between, and After might need to use a different style.

Change-Id: I784a31d32b4c1b920141db90eb10d76d2f502ea4
Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @mark-sil)


Src/xWorks/LcmWordGenerator.cs line 668 at r1 (raw file):

			{
				displayEachInAParagraph = true;
			}

I think I'd go with:

var displayEachInAParagraph = config != null  &&
   config.DictionaryNodeOptions is IParaOption &&
   ((IParaOption)(config.DictionaryNodeOptions)).DisplayEachInAParagraph

Handle Before, Between, After, and DisplayInSeparateParagraphs.
Remaining tasks:
- Tables still need indenting.
- The first line after a table is shifted to the left. A new
‘continuation’ style is needed when we start a new paragraph.
- Before, Between, and After might need to use a different style.

Change-Id: I5a19055412025faf3b7c1f1cc67f4285629758b0
Copy link
Contributor Author

@mark-sil mark-sil left a comment

Choose a reason for hiding this comment

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

Reviewable status: 4 of 5 files reviewed, all discussions resolved (waiting on @jasonleenaylor)


Src/xWorks/LcmWordGenerator.cs line 668 at r1 (raw file):

Previously, jasonleenaylor (Jason Naylor) wrote…

I think I'd go with:

var displayEachInAParagraph = config != null  &&
   config.DictionaryNodeOptions is IParaOption &&
   ((IParaOption)(config.DictionaryNodeOptions)).DisplayEachInAParagraph

Done

Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @mark-sil)

@mark-sil mark-sil merged commit 3e09448 into release/9.1 Apr 25, 2024
5 checks passed
@mark-sil mark-sil deleted the LT-21761 branch April 25, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants