s-modules-editor-lib2@/org/netbeans/spi/editor/typinghooks/TypedTextInterceptor.html">TypedTextInterceptor</a></code>
  and its <code>afterInsert</code> method. The implementation can check the text
  inserted in the document as a result of the key typed event processing and reindent
  the line if its text matches required pattern.
  </p>

  <p>
  Moreover, the <a href="@org-netbeans-modules-editor-indent@/index.html">Editor Indentation API</a>
  provides an implementation of <code>TypedTextInterceptor</cod