Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


developerWorks: Building a CDT-Based Editor, Part 2: Presenting Text in the CDT

Sep 25, 2006, 00:00 (0 Talkback[s])
(Other stories by Matthew Scarpino)

[ Thanks to An Anonymous Reader for this link. ]

"With each character you enter, the CDT editor performs a bewildering number of tasks. It checks for changes to the document partitions and activates rules to further divide the text. If the character completes a function, the editor enables subroutine folding to minimize the text space. If the character completes a word, it determines whether that word should be added to the index. Further, it determines whether that character fits into the accepted structure of a C/C++ document. If so, it updates its internal Document Object Model (DOM). If not, it provides error reporting through annotations.

"It's beyond the scope of this article to cover every aspect of CDT event handling, so we'll focus on syntax styling..."

Complete Story

Related Story:
internetnews.com: C Better With CDT 3.0(Aug 22, 2005)