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

Locked segments #1127

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

t-cordonnier
Copy link
Contributor

This PR implements the notion of locked segment: when you are in such a segment inside the editor, any attempt to add or delete characters will be rejected - only the navigation keys work, you can escape the segment of course!

Pull request type

  • Feature enhancement -> [enhancement]

Which ticket is resolved?

https://sourceforge.net/p/omegat/feature-requests/1745/ (for tm/enforce)

I am not sure there is a specific ticket for xliff / final but we already discussed it in the mailing lists

About https://sourceforge.net/p/omegat/bugs/1215/ : it does not directly solve the bug, which is in Okapi filter, but once the patch is applied we may have some info we can give to them so that they can use the new feature to solve the bug.

@@ -1803,6 +1805,7 @@ WG_SAVE_ORIGIN=Save origin of &translation
WG_INITIAL_SEGMENT_LOAD_COUNT=Initial number of loaded segments:
WG_INITIAL_SEGMENT_LOAD_COUNT_TOOLTIP=When a single file has more segments than this, additional segments will be loaded on-demand as you scroll.
WG_PARA_MARK=Paragraph delimiter:
WG_SUPPORT_LOCKED_SEGMENTS=Support for locked segments
Copy link
Contributor

Choose a reason for hiding this comment

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

I think "Allow segment locking" would be better for this one, if I understand the intent correctly.

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