-
Notifications
You must be signed in to change notification settings - Fork 37
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
Semantic linefeed feature #65
Conversation
(cherry picked from commit ebb6330)
(cherry picked from commit 6c12e17)
{ Tese submetida ao Federal de \showfont } (cherry picked from commit 2ddcdd0)
\preambulo { \chooselang {Tese submetida ao Federal de \showfont} {Tese submetida ao asdfffffffffffffasd fdaf adsf df asfd asfd asdf sdf asdf adaf df ads fasd f Federal de \showfont} } (cherry picked from commit 7af3e3b)
(cherry picked from commit ca357b2)
(cherry picked from commit 3fcbaca)
(cherry picked from commit 9a4525b)
(cherry picked from commit ffa9164)
(cherry picked from commit bfb832e)
(cherry picked from commit e30c230)
(cherry picked from commit 5d0a150)
(cherry picked from commit 6564b20)
(cherry picked from commit fd8c2ae)
implemented the semantic_line_wrap() call and some Unit Tests. (cherry picked from commit 9cc9ed4)
(cherry picked from commit 0932dfa)
(cherry picked from commit 4eb16e6)
(cherry picked from commit cf7ac07)
(cherry picked from commit 0c21915)
lenght. (cherry picked from commit 9af0cb9)
(cherry picked from commit 8eba007)
numbers. (cherry picked from commit 4b29968)
semantic linewrap also know as semantic linefeed will be used. (cherry picked from commit 830c411)
Thanks! I hope this does get merged into @ehuss's great package. |
Base File.sublime-settings (cherry picked from commit 4443a30)
detects the maximum line width and uses it to limite/delimite the maximum line width. If you line your lines only to be wrapped by delimiter characters, you can set this to true. (cherry picked from commit cc3055d)
to balance the text between lines equally when a line wrapped due reaching the maximum wrap width. (cherry picked from commit 8a6e77e)
(cherry picked from commit 7e5de35)
setting balance_characters_between_line_wraps to be disabled. (cherry picked from commit 27db11f)
occur on the end of the line. (cherry picked from commit 14573cf)
Thanks for the PR! I noticed you added some more commits, I'm wondering if you are all finished now?
|
(cherry picked from commit 104b7f7)
(cherry picked from commit 594a76d)
(cherry picked from commit ebdc4fa)
(cherry picked from commit 7b1c0cc)
(cherry picked from commit 1ca086c)
setting "WrapPlus.after_wrap" to control the cursor behavior while wrapping the text. It accepts the following: "cursor_below", will move the cursor/caret to the end the the wrapped text. "cursor_stay", will `attempt` to keep the cursor/caret on its original position. (cherry picked from commit c2a2250)
They seemed dangerous.
Done on 7e7fa1f
Done on 07ac351
I had did it because I did a long time ago because I did not knew how to change the class code to implement the cursor stay feature. Now I removed it and restored it as I implemented the code directly on the main code.
Done on b5886f6 |
I implemented the unit test system by https://github.com/randy3k/UnitTesting, these are the results:
But I also kept the caller on
Yes, unless some bug emerges.
I noticed this sometimes, but the current implementation is already very good as it is, which is much better then sending my cursor to the end of the line (far away from where it is). This is a problem because I call several times the command |
I just pushed a few things I forgot to remove/add. This should be the end. |
Sweet! I have to head out today, but I will try to test it soon. |
Closing if favor of #66 All my updates |
Fixes #64 Semantic line wrapping support
Posted also on: https://forum.sublimetext.com/t/semantic-linefeed-wrapping-linewrap/33197