<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="plugin-join-split-lines" xml:lang="fi">

  <info>
    <link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
    <revision version="3.8" date="2013-02-24" status="review"/>
    <revision pkgversion="3.34" date="2020-02-09" status="review"/>

    <credit type="author">
      <name>Jim Campbell</name>
      <email its:translate="no">jwcampbell@gmail.com</email>
    </credit>

    <desc>Join several lines of text or split long lines.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>sampo555</mal:name>
      <mal:email>sampo_75 [at] windowslive [dot] com</mal:email>
      <mal:years>2012.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Valto Wirkola</mal:name>
      <mal:email>valto [dot] wirkola [at] yahoo [dot] com</mal:email>
      <mal:years>2008, 2010</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Tommi Vainikainen</mal:name>
      <mal:email>thv [at] iki [dot] fi</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  </info>

  <title>Join/Split Lines</title>

  <p>The <app>Join/Split Lines</app> plugin can join shorter lines into one
  longer line, or can split a long line into multiple shorter lines.</p>

  <steps>
    <title>To enable the plugin:</title>
    <item>
      <p>Press the menu button in the top-right corner of the window and select
      <guiseq><gui style="menuitem">Preferences</gui>
      <gui style="tab">Plugins</gui></guiseq>.</p>
    </item>
    <item>
      <p>Select <gui style="menuitem">Join/Split Lines</gui> to enable the plugin.</p>
    </item>
  </steps>

  <steps>
    <title>To join multiple lines into one longer line:</title>
    <item>
      <p>Select the lines that you want to join. To do this, you can use the
      mouse, or you can press <keyseq><key>Shift</key><key>Up Arrow</key>
      </keyseq> or <keyseq><key>Shift</key><key>Down Arrow</key></keyseq>.</p>
    </item>
    <item>
      <p>Press <keyseq><key>Ctrl</key><key>J</key></keyseq>.</p>
      <p>The lines that you selected will be joined into one longer line.</p>
    </item>
  </steps>

  <steps>
    <title>To split one line into multiple lines:</title>
    <item>
      <p>Select the line that you want to split by placing your cursor anywhere
      on that line.</p>
    </item>
    <item>
      <p>Press <keyseq><key>Ctrl</key><key>Shift</key>
      <key>J</key></keyseq>.</p>
      <p>The line will be split into multiple lines. Spaces are used to
      determine where it is safe to split a line, and the length of each line
      will not exceed 80 characters.</p>
    </item>
  </steps>

</page>
