<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="gedit-plugins-doc-stats" xml:lang="en_GB">

<info>
  <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
  <desc>View document statistics.</desc>

    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Zander Brown</mal:name>
      <mal:email>zbrown@gnome.org</mal:email>
      <mal:years>2020</mal:years>
    </mal:credit>
  </info>

<title>Document statistics</title>

  <p>The <em>Document Statistics</em> plug-in shows you various statistics about your current document. To enable this plug-in, select <guiseq><gui style="menu">gedit</gui><gui style="menuitem">Preferences</gui> <gui>Plug-ins</gui><gui>Document Statistics</gui></guiseq>.</p>

<section id="using-doc-stats">
  <title>Using Document Statistics</title>

  <p>Once the plug-in is enabled, use it by selecting <guiseq><gui>Tools</gui> <gui>Document Statistics</gui></guiseq>. A window will display the statistical information of your document, including the number of words, lines, characters, non-space characters, and the size of your file in bytes.</p>

  <p>You can also use <em>Document Statistics</em> to show you information about just a portion of your document. To do this, use the mouse pointer to select the portion of text that you want to examine, and then select <guiseq><gui>Tools</gui><gui>Document Statistics</gui></guiseq>. <app>Gedit</app> will display information for both your entire document, and for the portion of text that you highlighted.</p>
</section>

</page>
