File: join-split-lines.page

package info (click to toggle)
gedit-plugins 48.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,084 kB
  • sloc: python: 2,730; ansic: 2,549; xml: 199; makefile: 11
file content (64 lines) | stat: -rw-r--r-- 2,187 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<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">

  <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>
  </info>

  <title>Join&#47;Split Lines</title>

  <p>The <app>Join&#47;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>