From: Paul K <pau...@ya...> - 2012-07-27 05:22:00
|
Does anyone have an example of how I can implement multiple views in wxLua? I have read through this description (http://www.yellowbrain.com/stc/mult_views.html), but still can't figure out what the required calls are. What I want to do is quite simple: I have an editor window that I want to display and I also need a second window that will only show *some of the lines* shown in the editor window. If the lines are updated in the editor window, they should be updated in the other window. I'll hide some of the lines in the other window using HideLines/ShowLines (http://www.yellowbrain.com/stc/folding.html#hidelines). What is the minimum set of required commands to add a second view to an existing wxstc.wxStyledTextCtrl object? Thank you. Paul. |