wangqr / Aegisub

Win64 nightly builds available at GHA artifact, also at following link:
https://ftp.wangqr.tk/aegisub/
Other
799 stars 49 forks source link

wxTextCtrl problem. #101

Open Samo99 opened 3 years ago

Samo99 commented 3 years ago

Hey man, Thank you so much for wxTextCtrl fix.

But the punctuation still appear in the opposite direction if you type it at the end of a sentience like before even after disabling the wxSTC. And you need it type it first if you want it to be in the correct position.

ex:

wangqr commented 3 years ago

Can you provide a screenshot of how this line looks like in video preview or in an actual media player?

Samo99 commented 3 years ago

Can you provide a screenshot of how this line looks like in video preview or in an actual media player?

OK

This is the preview for the first pic 1

preview for the second pic

2

wangqr commented 3 years ago

As a subtitle editor, whichever layout that matches player output is considered correct. But unfortunately we don't have control over how Windows text box show those right to left text mixed with left to right text. You may try toggling the "right to left reading order" option in the shift+right click menu and see if that helps.

Samo99 commented 3 years ago

As a subtitle editor, whichever layout that matches player output is considered correct. But unfortunately we don't have control over how Windows text box show those right to left text mixed with left to right text. You may try toggling the "right to left reading order" option in the shift+right click menu and see if that helps.

Yeah that's a problem in windows andi hoped that your workaround fix it like Microsoft WORD, cause it's the only app with proper solution for this problem.

I look at your suggestion and it's already enabled but i tried to go in same menu to insert Unicode control character and from that i clicked on RTE and it fixed it, but you need to repeat these steps on every line. If there is a way to enable Unicode RTE for every line automatically in Aegisub that will be great.

wangqr commented 3 years ago

If you want to prepend something to every line, you can use Edit -> Find and replace, enable "Use regular expressions", and replace ^ with the prefix you need. You may also make a lua script and bind it to some hotkey if it is used frequently.

Samo99 commented 3 years ago

If you want to prepend something to every line, you can use Edit -> Find and replace, enable "Use regular expressions", and replace ^ with the prefix you need. You may also make a lua script and bind it to some hotkey if it is used frequently.

Using find and replace method is a solution but if it can be an option inside Aegisub that i can enable or disable would be great. And about o a script, hehe! i which i knew how to program :)