Missing header

Arkshine
2011-08-24
2012-10-27
  • Arkshine

    Arkshine - 2011-08-24

    Hi,

    I wanted to play with your plugin by adding a language and it appears
    "nppdocitplugin.h" is missing, if I'm not wrong.

    This plugin is called from PluginDefinition.cpp.

    Thanks !

     
  • Arkshine

    Arkshine - 2011-08-24

    This header* (damn, no edit button ? :P)

     
  • Kapil Ratnani

    Kapil Ratnani - 2011-11-01

    ohh.. sorry i've been busy with my day job, will add the necessary files and a
    bit of documentation

    Thank you

     
  • Kapil Ratnani

    Kapil Ratnani - 2011-11-01

    ok.. here is the information that you must know to fiddle with the code:

    1. like notepad++, DocIt also has plugins. The plugins are as per language. One plugin per language
    2. The plugins must be compiled as a DLL and be placed in a dir called "nppdocitplugins" in the notepad++ plugins folder
    3. The main DocIt DLL just loads the plugins, fetches strings from npp and sends the output back to npp
    4. Each plugin implements three functions
      void gen_doc_string(char func_string,int indentation,char out)
      char
      get_terminating_character()
      enum LangType get_language_type()

    5. The source for all the plugins currently (C/CPP/JAVA) is included as separate projects in a dir called "nppdocitplugins" in the nppdocit folder

    looking forward to hear from you.

    Thank you

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks