Integrated Development Environment (IDE) Modules in NPL

Source code and documentation of most IDE modules can be found at script/ide/ folder. This topic provides an overview of useful IDE modules that developers can use to debug application, make UI, and complete various other common tasks. Most IDE modules are wrappers of relatively low level NPL functions or other IDE modules. This means that developers can always mix the use of IDE modules and raw NPL functions in their applications.

IDE UI modules

UI are the largest collection in IDE modules. They are in namespace CommonCtrl.

MultiLineEditbox

Multiline editbox is a collection of single line editbox in a TreeView control.

Features:

  • Mouse/Key board based text selection
  • Copy & Paste from/to clipboard
  • Arrow key, Home/End key navigation from line to line
  • Right click context menu for text selection
  • Syntax highlighting: support user defined syntax coloring scheme
  • International character input, such as Chinese, English.
  • Automatic word wrapping and line breaking

related: TreeView, imeeditbox, MCML_Controls, ContextMenu

TreeView

gui_helper

MessageBox

HTMLRenderer

DataBinding

Common Library

Common library contains modules for debugging, testing, data structuring, serialization, etc. They are in namespace commonlib

Warning: Can't find topic Main.UnitTest

Topic revision: r4 - 2008-03-09 - LiXizhi
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback