Loading ...
Sorry, an error occurred while loading the content.

Re: [jasspa] notes + additional highlighting

Expand Messages
  • Jon Green
    ... There is some additional highlighting in notes as follows, however notes does not allow mynotes.emf for user extensions which it should probably do. At
    Message 1 of 3 , Sep 10, 2006
    • 0 Attachment
      cut1n1paste wrote:
      > Hello all,
      >
      > i have one question: i use Notes tool a lot, and would like to add
      > some highlighting to it.
      > i mean, let's say, now it higlights urls only... but what if it could
      > also highlight e.g. /TEXT/ or *TEXT* or _TEXT_? or some another
      > specific rules or conditions?
      >
      > is it possible? and if yes, then where and how should i defined such
      > rules?
      >
      > thank you in advance.
      >
      >

      There is some additional highlighting in notes as follows, however notes
      does not allow "mynotes.emf" for user extensions which it should
      probably do. At the moment then you need to copy it to your user
      directory and then add additional hilighting.

      Jon.

      Some of the hilighting that exists in "notes"

      >c>
      /* This is a C code insert */
      >end>

      >emf>
      ; This is a microEmacs insert
      >end>

      >cpp>
      // This is a C++ insert
      >end>

      >perl>
      # This is a perl insert
      >end>

      >tcl>
      # This is a tcl insert
      >end>

      >shell>
      # This is a shell script
      >end>

      >make>
      # This is a makefile insert
      >end>

      >pseudo>
      // Pseudo code
      IF condition
      THEN
      something
      ENDIF
      >end>

      >bnf>
      # BNF code
      Some bnf ::= end
      >end>

      >emf>
      ; If you add the following to "notes.emf" then you can have document
      ; format as well, starts with ">doc>"
      ; Allow Text code inserts ...
      enf-add-file-support "doc"
      >end>
    Your message has been successfully submitted and would be delivered to recipients shortly.