IDA SDK
Simpleline interface

IDA custom viewer sample.

IDA custom viewer sample.

It is enough to create an object of strvec_t class, put all lines into it and create a custom ida viewer (ui_create_custom_viewer).

// fill it with lines...
"My title",
&s1,
&s2,
&s1,
0,
&sv).vptr;
Reimplementation of vector class from STL.
Definition: pro.h:2198
size_t size(void) const
Get the number of elements in the qvector.
Definition: pro.h:2324
A location in a view populated by a strvec_t.
Definition: kernwin.hpp:1664
@ ui_create_custom_viewer
ui: see create_viewer()
Definition: kernwin.hpp:898
idaman callui_t ida_export_data(idaapi * callui)(ui_notification_t what,...)
Pointer to the user-interface dispatcher function.
Definition: kernwin.hpp:1278

This will produce a nice colored text view. Also see the SDK's 'custview' and 'hexview' plugins for more complete examples.