![]() Tag block - a set of tags between curly brackets, e.g. comment to the end of the line, which then has the same effect for Cycles as commenting the line, i.e. If you press the hotkey for Switch again, the comment disappears (as long as it's still at the end of the line).Īs this made it unnecessary to cycle through the whole sequence, I made the sequences a bit more detailed and thus longer. The Switch function can now be used for plenty of other things, as it's a quick way to change the state of the line in an on/off manner with just one key. Masquerade already uses it to switch from shifting tags forward to shifting backward. ![]() ![]() Others who write scripts can make use of this as well.Īs I implemented the use of this into several other scripts, I had to change my original Ctrl key shortcut to just that key alone. If you want to make good use of this, it really needs quick access. Masquerade's Shift Tags to shift in opposite direction.Bell Shifter and Wave Shifter to shift by one character instead of wordĭownload iBus (Italy Bold Under Strike) Purpose: Quick application of Italics / Bold / Underline / Strikeout.Supports: Handling of all subsequent inline tagsĪ script for hotkeying that applies italics* to your line. This reads values from style and goes through all italics tags in the line. If the style is in italics and there is no \i tag, you'll get \i0, not \i1.įor every italics tag in the line, it switches to the other one (1 vs 0). If the style is italics, though, you will get this:īecause the style is italics, the first tag becomes \i0. The other tags, however, don't change in this case, because the script corrects a wrong sequence at the beginning, that is two consecutive italics tags with the same value. In other words, since the style here was italics, the first tag became \i0, and thus the second one had to be \i1. This correction system only checks the first already existing italics tag and doesn't check \r, so not everything gets "corrected". Supports: Properly only English language (Rules for others will be significantly simplified) Underline and Strikeout is probably useless, but it was really trivial to add.ĭownload Line Breaker Purpose: Use a hotkey to insert a line break at the estimated most appropriate place in the line * This explanation is for Italics, but it works the same for Bold. dialogue), but it's useful for typesetters too. If your line has any line breaks, the script will remove them all. If it doesn't, the script will insert a line break. Where it gets inserted is a result of rather exptensive and complex mechanisms, so I will only explain part of them. The primary places for line breaks are after punctuation marks, namely. Īefore: Beyond that sky over there, there are people waiting for you.Īfter: Beyond that sky over there, \Nthere are people waiting for you.
0 Comments
Leave a Reply. |