LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2014, 06:57 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Rep: Reputation: 176Reputation: 176
how do I open two different documents in the Kate text editor at the same time?


Kate's documentation says:

The Editor area

Kate is capable of having more than one document open at the same time, and also of splitting the editing area into any number of frames, similar to how for example Konqueror or the popular emacs text editor works. This way you can view several documents at the same time, or more instances of the same document, handy for example if your document contains definitions in the top that you want to see often for reference.

I know how to open multiple screens of the same document, but can not figure out how to open different documents. Thanks.
 
Old 05-04-2014, 08:26 PM   #2
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I don't use kate, but the usual way is to just use the menu - File/Open, and open the new file. The current file should remain open. At least that's the way it works in gedit and mousepad, and every other editor I've ever tried.
 
1 members found this post helpful.
Old 05-05-2014, 01:50 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
As sgosnell said, open one (or more) documents. In the View menu select Split view and choose the option you wish. This can give you multiple views of the same file.
jdk

Last edited by jdkaye; 05-05-2014 at 01:51 AM.
 
1 members found this post helpful.
Old 05-05-2014, 04:39 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Hmm: up to a few years ago, kate's modus operandi was rather clearer than it is now, and you probably wouldn't have found it so difficult. However...

I believe that, by default, if you have a file open and then open another file, both are open. It is just that only the second file is displayed, which might convince a person that only one file is open (which would be untrue).

jdkaye's reply about the split view option is the thing that you need to get both files displayed.
 
1 members found this post helpful.
Old 05-05-2014, 08:59 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
On my machine, when I open a file in Kat and then a second file only the second file shows in the window. Above the main window are tabs, Previous Document, Next Document. If you want to see the first opened, click Previous Document. You can also click the View tab and mouse down to Split View and divide 2 Documents vertically or horizontally as well as other options. I personally don't like this so use Kwrite.
 
1 members found this post helpful.
Old 05-05-2014, 03:39 PM   #6
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Thanks guys. So the bottom line is I can only look at the same document (granted, it can be split into multiple views) on the screen. It is impossible to look at two different documents on the screen at the same time, right? (Although the Kate documentation says (see OP) this is possible. Hmm.)
 
Old 05-05-2014, 03:44 PM   #7
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Quote:
Originally Posted by Gregg Bell View Post
Thanks guys. So the bottom line is I can only look at the same document (granted, it can be split into multiple views) on the screen. It is impossible to look at two different documents on the screen at the same time, right?...
No.
You can view two different documents at the same time. Once you have opened the second document split the view and then click on, previous document.

Last edited by cwizardone; 05-05-2014 at 03:46 PM.
 
1 members found this post helpful.
Old 05-05-2014, 05:16 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
If you have Kate open, you can click on the View tab at the top and then click New Window.
 
1 members found this post helpful.
Old 05-05-2014, 11:32 PM   #9
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by cwizardone View Post
No.
You can view two different documents at the same time. Once you have opened the second document split the view and then click on, previous document.
You da man, wizard! That did it. Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] installation from source - kate (advanced text editor) aylalisa Linux - Newbie 2 03-21-2014 12:15 PM
LXer: Getting Started With the Kate Text Editor: Kate For Coders LXer Syndicated Linux News 0 04-01-2009 11:40 PM
LXer: Getting Started With Kate, the Friendly yet Powerful Text Editor LXer Syndicated Linux News 0 02-10-2009 01:30 AM
Kate (text editor) on Cygwin - how to? icic Linux - Software 4 08-21-2008 12:25 PM
Question on the DCOP interface to KDE Advanced Text Editor (Kate) Laurene Linux - Newbie 0 02-25-2004 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration