Registered Member
|
On Kate, is there a way to synchronise the scroll bar when doing a vertical split for 2 documents?
So when you scroll in one side, the automatically scrolls on the other?
Last edited by philipw on Sat Jun 23, 2018 12:48 pm, edited 1 time in total.
linux newbie - looking for linux buddies (please teach me!)
|
Global Moderator
|
I don't think so. What would be the use-case for that? Is the idea of split-view not exactly to have two *different* views on the same document?
I'm working on the KDevelop IDE.
|
Registered Member
|
Language learning - source language on left, translation on right.
linux newbie - looking for linux buddies (please teach me!)
|
Global Moderator
|
Aah, you want it for two different documents. Ok. If they are line-by-line the same, you may be able to achieve your goal by putting them into the same file (instead of using split view), e.g. by using block mode:
Copy the whole document on the right to the clipboard (Ctrl+A, Ctrl+C). Go to the left document. Select Edit -> Block Selection Mode. Place the cursor in the first line as far to the right as you want the right text to be. Paste the text (Ctrl+V). Hope this works for your use case. Best, Sven
I'm working on the KDevelop IDE.
|
Registered Member
|
Although it's not the ideal case, it's an awesome workaround!
If anyone knows a way to actually sync scrolling, that would be great because I want to keep the documents separate.
linux newbie - looking for linux buddies (please teach me!)
|
Global Moderator
|
I'm 99% sure this feature does not exist, sorry. It should be relatively easy to implement, but it is questionable whether there are enough people who need it to make it worth.
I'm working on the KDevelop IDE.
|
Registered Member
|
Subtitles translation. Actually almost any translation at all. It is a common practice to return to already translated parts of the text to polish them, and it is handy to have the original text of the fragment at hand. |
Global Moderator
|
Don't people typically use tools like QtLinguist for that?
I'm working on the KDevelop IDE.
|
Registered Member
|
I came here looking for exactly this feature too, can we fill a feature request somewhere so we could vote to get some tracking?
|
Global Moderator
|
You can file one on bugs.kde.org if you feel like it, though typically tiny-audience requests like this one without code attached tend to just get lost and auto-closed after a year.
I'm working on the KDevelop IDE.
|
Manager
|
Since you use Plasma, why not try Lokalize? Qt Linguist is of course another option.
Lokalize supports XLDIFF, Gettext, Linguist and OpenOffice files and has a Translation Memory.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
I'd be a very nice feature to have, I second this.
Currently running Plasma 5.26.3 on Arch Linux (as of November 2022, the signature could be outdated by now).
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]