summaryrefslogtreecommitdiffstats
path: root/help/C/gedit-syntax-highlighting.page
blob: 0494e723f58d4eb4cdc0965546ad841eb20159ce (plain)
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
<page xmlns="http://projectmallard.org/1.0/"
      type="topic" style="task"
      id="gedit-syntax-highlighting">

  <info>
    <link type="guide" xref="index#configure-gedit"/>
    <desc>Highlight your text to make it easier to read.</desc>
  </info>

  <title>Turn on syntax highlighting</title>

  <section id="gedit-syntax-highlighting-section">
    <title>Syntax highlighting</title>
    <p><app>gedit</app> provides syntax highlighting for a wide range of markup,
    programming, and scientific languages. If <app>gedit</app> recognizes the
    syntax being used when you open a file, it will automatically highlight the
    text.</p>

    <p>If your syntax or language is not highlighted upon startup, you can
    select the appropriate syntax or language by clicking
    <guiseq><gui style="menu">View</gui>
    <gui style="menuitem">Highlight Mode</gui></guiseq>,
    and then choosing the desired syntax. Alternately, you can select the syntax
    name from a list at the bottom of the <app>gedit</app> window.</p>
  </section>

</page>