Changeset 132

Show
Ignore:
Timestamp:
Tue Oct 16 06:35:43 2007
Author:
mbutscher
Message:

branches/mbutscher/work:

* Internal: Introduction of the unified page names

(path-like naming of wiki and func pages)
* Command line option to rebuild wiki (patch by mstute)
* Lock file for wiki to avoid to inadvertently open same
wiki twice
* Option to use single process is now true by default
* No more page history for whole window, instead history
for each tab
* Support for customizing favorite wikis
* Better handling of changes in global text blocks over
multiple open windows
* When hiding a focused tool window, focus is transferred
to main area panel
* Bug fixed: An added icon/color property always used
default brackets [ ], even if changed in WikiSyntax.py


branches/stable-1.8:

* When hiding the focused tree, focus is transferred to
main area panel

Files:

Legend:

Unmodified
Added
Removed
Modified
  • branches/mbutscher/TodoList.txt

    r128 r132  
    1   +++ Bug with relative URLs with non-latin-1 characters  
    2   1. There seems to be an error in "rel://" to "file://" string parsing..  
    3   > Some files with long non-ascii names fail to open via an appropriate "rel:"  
    4   > link, when stored in the wiki repository. At the same time, they open  
    5   > successfully when stored outside and accesed via "file:" link.  
    6   > The actual file name is the same.  
    7   *Details*:  
    8   How to encode such URLs so they can be handled by start.exe? Neither UTF-8-percent nor %u1234 seem to work.  
    9   Call ShellExecuteW directly on NT.  
    10    
    11    
    12 1 +++ Bug: Crash when using IE or Mozilla as preview  
    13 2  
    14 3  
      4 > I've used the footnotes feature briefly today, and thought it would be good to cícle through the bracketed numbers, as usually there are only two occurences anyway. I mean when you are sent to the bottom of the page (to the footnote), you could easily find your way back where you left the text by clicking on the footnote number again.  
    15 5  
    16   +++ Timeline: Omit days without wiki words [2 requests]  
    17    
    18    
    19   +++ Timeview: Tooltip on mouse click only  
    20   > could the popup list only be activated by clicking on the dates? Popup on hover is very annoying if you have a lot of pages on a date.  
    21 6  
      7 Another small feature request. How about a "button bar" for favorite  
      8 wiki files? Yes I know you have the recent file list, but it keeps  
      9 changing order. If I could have (say) 4 buttons on the button bar  
      10 which could be assigned to files and  also if those "buttons" could  
      11 have dedicated shortcuts (g. F1->F4) - I'd be really happy.  
    22 12  
    23   +++ Shortcut to quick search field [2 requests]  
      13 Thinking about it - if you dedicated F1 to open the WikiHelp file it  
      14 would even follow a Windows Help convention. Guess I'd be looking at  
      15 F2-F5 then  
    24 16  
    25 17  
     
    39 33  
    40 34  
    41    
    42 35 +++ Option to ignore single linebreak for HTML export  
    43 36 > 3. WikidPad entries currently preserve line-breaks entered by the user,  
     
    86 79  
    87 80  
    88   +++ Activating last footnote should go to first [Requests: 2]  
    89   > I've used the footnotes feature briefly today, and thought it would be good to cícle through the bracketed numbers, as usually there are only two occurences anyway. I mean when you are sent to the bottom of the page (to the footnote), you could easily find your way back where you left the text by clicking on the footnote number again.  
    90    
    91    
    92 81 +++ Suppress self-referencing auto-links  
    93 82 My only suggestion would be that it maybe shouldn't work on its own page? I mean, say I create a wikiword called [Germany]. Chances are that the number of occurences of the word 'Germany' on this page is plentiful, and so are the links (that are in fact useless and so only litter the page).  
    94 83  
    95 84  
    96   +++ Search results to log window or special page  
    97   > - A real search pane so you can review all the matches you find,  
    98   > without having to re-search again. I don't understand why Michael  
    99   > doesn't use the LOG window for that functionality, it would make this  
    100   > easier. Save all the messing about with the drop down blue highlight  
    101   > stuff.  
    102    
    103   > Fair enough.. since writing my comment I discovered your powerful  
    104   > saved searches. Its quite difficult to understand, and I was just  
    105   > looking for a way to persist the last ordinary search - and go back to  
    106   > look at things in more detail. Perhaps a "system page" (like  
    107   > Scratchpad) could be written to? (a LastSearchResults page for  
    108   > example) - this would certainly meet my need  
    109    
    110    
    111 85 +++ Reload menu plugins during session (partly working)  
    112 86 For debugging purposes it would be great if I could force WikidPad to  
     
    115 89  
    116 90  
      91 Possibilities:  
      92     * Clone tab  
      93     * Close tab  
      94  
      95  
    117 96 +++ Shortcuts to go to next/previous heading  
    118 97 > Are there keyboard shortcuts for folding and unfolding, as well as to  
     
    128 108 +++ Make toolbar customizable  
    129 109  
    130   +++ Favorite wikis bar  [2 requests]  
    131   Another small feature request. How about a "button bar" for favorite  
    132   wiki files? Yes I know you have the recent file list, but it keeps  
    133   changing order. If I could have (say) 4 buttons on the button bar  
    134   which could be assigned to files and  also if those "buttons" could  
    135   have dedicated shortcuts (g. F1->F4) - I'd be really happy.  
    136    
    137   Thinking about it - if you dedicated F1 to open the WikiHelp file it  
    138   would even follow a Windows Help convention. Guess I'd be looking at  
    139   F2-F5 then  
    140    
    141 110  
    142 111 +++ Use "open" on Linux  
     
    208 177  
    209 178  
      179 > Question: Can we freeze open a category within the Views menu?  For  
      180 > example, I have Importance as a top level category in Views and under  
      181 > it there is High and there is Low and under those there are items.  
      182 > Could be something like (I'll use dashes in this note to indicate sub  
      183 > levels):  
      184 >  
      185 > Importance  
      186 > ----high  
      187 > ------change the tires  
      188 > ------check out the new program  
      189 > ----low  
      190 > ------look over past report  
      191 >  
      192 > etc.  Or, that could be a todo list.  When the wiki opens, or  
      193 > apparently when I move to certain pages, the Views tree collapses and  
      194 > thus my Importance items collapse (as do the other Views items).  
      195 > Thus I simply see:  
      196 >  
      197 > Importance  
      198 >  
      199 > amid the other Views items.  But what I was wondering is, is there  
      200 > something I can optionally do to keep the item from collapsing; i.e.,  
      201 > to keep it expanded.  I would like to have the Importance entries  
      202 > optionally always open to serve as a reminder rather than have to go  
      203 > through opening it all up each time.  I haven't found anything to  
      204 > indicate that that's supported so I thought I'd ask.  
      205  
      206  
      207  
    210 208 +++ Graphical view of interconnection between pages  
    211 209 > I like the wikidpad application, though I wish it would use a tab to  
     
    489 488  
    490 489  
      490 > - A real search pane so you can review all the matches you find,  
      491 > without having to re-search again. I don't understand why Michael  
      492 > doesn't use the LOG window for that functionality, it would make this  
      493 > easier. Save all the messing about with the drop down blue highlight  
      494 > stuff.  
      495  
      496 > Fair enough.. since writing my comment I discovered your powerful  
      497 > saved searches. Its quite difficult to understand, and I was just  
      498 > looking for a way to persist the last ordinary search - and go back to  
      499 > look at things in more detail. Perhaps a "system page" (like  
      500 > Scratchpad) could be written to? (a LastSearchResults page for  
      501 > example) - this would certainly meet my need  
    491 502  
    492 503  
     
    1113 1125  
    1114 1126  
    1115   +++ Multiple icons for tree node (before and/or behind wiki word)  
    1116 1127 I think that this would be tremendous addition to wikipad. Because  
    1117 1128 this way one can assign different features-definitions through iconic  
  • branches/mbutscher/work/WikidPad.xrc

    r129 r132  
    1   <?xml version="1.0" encoding="iso-8859-1"?>  
    2   <resource>  
    3     <object class="wxDialog" name="DateformatDialog">  
    4       <title>Choose date format</title>  
    5       <centered>1</centered>  
    6       <object class="wxBoxSizer">  
    7         <orient>wxVERTICAL</orient>  
    8         <object class="sizeritem">  
    9           <object class="wxComboBox" name="fieldFormat">  
    10             <content/>  
    11             <style>wxCB_DROPDOWN</style>  
    12           </object>  
    13           <option>0</option>  
    14           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    15           <border>5</border>  
    16         </object>  
    17         <object class="sizeritem">  
    18           <object class="wxBoxSizer">  
    19             <orient>wxHORIZONTAL</orient>  
    20             <object class="sizeritem">  
    21               <object class="wxButton" name="btnOk">  
    22                 <label>OK</label>  
    23                 <default>1</default>  
    24                 <style></style>  
    25               </object>  
    26               <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>  
    27               <border>5</border>  
    28             </object>  
    29             <object class="sizeritem">  
    30               <object class="wxButton" name="btnCancel">  
    31                 <label>Cancel</label>  
    32               </object>  
    33               <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>  
    34               <border>5</border>  
    35             </object>  
    36           </object>  
    37         </object>  
    38         <object class="sizeritem">  
    39           <object class="wxStaticText">  
    40             <label>Preview:</label>  
    41           </object>  
    42           <option>0</option>  
    43           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    44           <border>5</border>  
    45         </object>  
    46         <object class="sizeritem">  
    47           <object class="wxStaticText" name="fieldPreview">  
    48             <label></label>  
    49             <size>25</size>  
    50             <style>wxST_NO_AUTORESIZE|wxSUNKEN_BORDER</style>  
    51           </object>  
    52           <option>0</option>  
    53           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    54           <border>5</border>  
    55         </object>  
    56         <object class="sizeritem">  
    57           <object class="unknown" name="htmlExplain"/>  
    58           <option>1</option>  
    59           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    60           <border>5</border>  
    61           <minsize>400,400</minsize>  
    62         </object>  
    63       </object>  
    64     </object>  
    65     <object class="wxDialog" name="OptionsDialog">  
    66       <title>Options</title>  
    67       <centered>1</centered>  
    68       <style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</style>  
    69       <object class="wxBoxSizer">  
    70         <orient>wxVERTICAL</orient>  
    71         <object class="sizeritem">  
    72           <object class="wxBoxSizer">  
    73             <orient>wxHORIZONTAL</orient>  
    74             <object class="sizeritem">  
    75               <object class="wxListBox" name="lbPages">  
    76                 <content/>  
    77               </object>  
    78               <option>1</option>  
    79               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    80               <border>5</border>  
    81             </object>  
    82             <object class="sizeritem">  
    83               <object class="wxPanel" name="panelPages"/>  
    84               <option>2</option>  
    85             </object>  
    86           </object>  
    87           <option>1</option>  
    88           <flag>wxEXPAND</flag>  
    89         </object>  
    90         <object class="sizeritem">  
    91           <object class="wxBoxSizer">  
    92             <orient>wxHORIZONTAL</orient>  
    93             <object class="sizeritem">  
    94               <object class="wxButton" name="btnOk">  
    95                 <label>OK</label>  
    96                 <default>1</default>  
    97                 <style></style>  
    98               </object>  
    99               <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>  
    100               <border>5</border>  
    101             </object>  
    102             <object class="sizeritem">  
    103               <object class="wxButton" name="btnCancel">  
    104                 <label>Cancel</label>  
    105               </object>  
    106               <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>  
    107               <border>5</border>  
    108             </object>  
    109           </object>  
    110           <option>0</option>  
    111           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    112           <border>5</border>  
    113         </object>  
    114       </object>  
    115     </object>  
    116     <object class="wxPanel" name="OptionsPageApplication">  
    117       <object class="wxBoxSizer">  
    118         <orient>wxVERTICAL</orient>  
    119         <object class="sizeritem">  
    120           <object class="wxCheckBox" name="cbShowOnTray">  
    121             <label>Minimize to Tray</label>  
    122           </object>  
    123           <option>0</option>  
    124           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    125           <border>5</border>  
    126         </object>  
    127         <object class="sizeritem">  
    128           <object class="wxCheckBox" name="cbMinimizeOnCloseButton">  
    129             <label>Minimize on close button</label>  
    130           </object>  
    131           <option>0</option>  
    132           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    133           <border>5</border>  
    134         </object>  
    135         <object class="sizeritem">  
    136           <object class="wxCheckBox" name="cbNewWindowWikiUrl">  
    137             <label>New window on wiki URL</label>  
    138           </object>  
    139           <option>0</option>  
    140           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    141           <border>5</border>  
    142         </object>  
    143         <object class="sizeritem">  
    144           <object class="wxCheckBox" name="cbLowResources">  
    145             <label>Low resource usage</label>  
    146           </object>  
    147           <option>0</option>  
    148           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    149           <border>5</border>  
    150         </object>  
    151         <object class="sizeritem">  
    152           <object class="wxCheckBox" name="cbSingleProcess">  
    153             <label>Single process per user</label>  
    154           </object>  
    155           <option>0</option>  
    156           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    157           <border>5</border>  
    158         </object>  
    159         <object class="sizeritem">  
    160           <object class="wxFlexGridSizer">  
    161             <cols>3</cols>  
    162             <growablecols>1</growablecols>  
    163             <object class="sizeritem">  
    164               <object class="wxStaticText">  
    165                 <label>Statusbar time format:</label>  
    166               </object>  
    167               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    168               <border>5</border>  
    169             </object>  
    170             <object class="sizeritem">  
    171               <object class="wxTextCtrl" name="tfPageStatusTimeFormat">  
    172                   </object>  
    173               <option>1</option>  
    174               <flag>wxALL|wxEXPAND</flag>  
    175               <border>5</border>  
    176             </object>  
    177             <object class="sizeritem">  
    178               <object class="wxButton" name="btnSelectPageStatusTimeFormat">  
    179                 <label>...</label>  
    180               </object>  
    181               <option>0</option>  
    182               <flag>wxALL|wxALIGN_BOTTOM</flag>  
    183               <border>5</border>  
    184               <minsize>20,-1</minsize>  
    185             </object>  
    186             <object class="sizeritem">  
    187               <object class="wxStaticText">  
    188                 <label>Default open/new dir.:</label>  
    189               </object>  
    190               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    191               <border>5</border>  
    192             </object>  
    193             <object class="sizeritem">  
    194               <object class="wxTextCtrl" name="tfWikiOpenNewDefaultDir"/>  
    195               <flag>wxALL|wxEXPAND</flag>  
    196               <border>5</border>  
    197             </object>  
    198             <object class="sizeritem">  
    199               <object class="wxButton" name="btnSelectWikiOpenNewDefaultDir">  
    200                 <label>...</label>  
    201               </object>  
    202               <flag>wxALL|wxEXPAND|wxALIGN_BOTTOM</flag>  
    203               <border>5</border>  
    204               <minsize>20,-1</minsize>  
    205             </object>  
    206           </object>  
    207           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    208         </object>  
    209         <object class="sizeritem">  
    210           <object class="wxStaticLine"/>  
    211           <option>0</option>  
    212           <flag>wxTOP|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    213           <border>5</border>  
    214         </object>  
    215         <object class="sizeritem">  
    216           <object class="wxCheckBox" name="cbLogWindowAutoShow">  
    217             <label>Auto-show log window</label>  
    218           </object>  
    219           <option>0</option>  
    220           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    221           <border>5</border>  
    222         </object>  
    223         <object class="sizeritem">  
    224           <object class="wxCheckBox" name="cbLogWindowAutoHide">  
    225             <label>Auto-hide log window</label>  
    226           </object>  
    227           <option>0</option>  
    228           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    229           <border>5</border>  
    230         </object>  
    231         <object class="sizeritem">  
    232           <object class="wxFlexGridSizer">  
    233             <object class="sizeritem">  
    234               <object class="wxStaticText">  
    235                 <label>Structure window pos.:</label>  
    236               </object>  
    237               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    238               <border>5</border>  
    239             </object>  
    240             <object class="sizeritem">  
    241               <object class="wxChoice" name="chDocStructurePosition">  
    242                 <content>  
    243                   <item>Hidden</item>  
    244                   <item>Left</item>  
    245                   <item>Right</item>  
    246                   <item>Top</item>  
    247                   <item>Bottom</item>  
    248                 </content>  
    249                 <selection>0</selection>  
    250                   </object>  
    251               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    252               <border>5</border>  
    253             </object>  
    254             <object class="sizeritem">  
    255               <object class="wxStaticText">  
    256                 <label>Structure window depth:</label>  
    257               </object>  
    258               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    259               <border>5</border>  
    260             </object>  
    261             <cols>2</cols>  
    262             <rows>2</rows>  
    263             <object class="sizeritem">  
    264               <object class="wxSpinCtrl" name="scDocStructureDepth">  
    265                 <value>15</value>  
    266                 <min>1</min>  
    267                 <max>15</max>  
    268               </object>  
    269               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    270               <border>5</border>  
    271             </object>  
    272           </object>  
    273           <option>0</option>  
    274           <flag>wxTOP|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    275         </object>  
    276         <object class="sizeritem">  
    277           <object class="wxCheckBox" name="cbDocStructureAutoHide">  
    278             <label>Auto-hide structure window</label>  
    279           </object>  
    280           <option>0</option>  
    281           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    282           <border>5</border>  
    283         </object>  
    284         <object class="sizeritem">  
    285           <object class="wxStaticLine"/>  
    286           <option>0</option>  
    287           <flag>wxTOP|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    288           <border>5</border>  
    289         </object>  
    290         <object class="sizeritem">  
    291           <object class="wxBoxSizer">  
    292             <orient>wxHORIZONTAL</orient>  
    293             <object class="sizeritem">  
    294               <object class="wxStaticText">  
    295                 <label>Sort order:</label>  
    296               </object>  
    297               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    298               <border>5</border>  
    299             </object>  
    300             <object class="sizeritem">  
    301               <object class="wxChoice" name="chCollationOrder">  
    302                 <content>  
    303                   <item>Default</item>  
    304                   <item>C</item>  
    305                 </content>  
    306                 <selection>0</selection>  
    307                 <style></style>  
    308               </object>  
    309               <option>0</option>  
    310               <flag>wxTOP|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    311               <border>5</border>  
    312             </object>  
    313             <object class="sizeritem">  
    314               <object class="wxCheckBox" name="cbCollationUppercaseFirst">  
    315                 <label>Uppercase first</label>  
    316           </object>  
    317               <option>0</option>  
    318               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    319               <border>5</border>  
    320         </object>  
    321           </object>  
    322           <option>0</option>  
    323           <flag>wxTOP|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    324         </object>  
    325         <object class="sizeritem">  
    326           <object class="wxBoxSizer">  
    327             <orient>wxHORIZONTAL</orient>  
    328             <object class="sizeritem">  
    329               <object class="wxStaticText">  
    330                 <label>Rename links when renaming wiki word:</label>  
    331               </object>  
    332               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    333               <border>5</border>  
    334             </object>  
    335             <object class="sizeritem">  
    336               <object class="wxChoice" name="chWikiWordRenameWikiLinks">  
    337                 <content>  
    338                   <item>No</item>  
    339                   <item>Yes</item>  
    340                   <item>Ask</item>  
    341                 </content>  
    342                 <selection>2</selection>  
    343               </object>  
    344               <option>0</option>  
    345               <flag>wxTOP|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    346               <border>5</border>  
    347             </object>  
    348           </object>  
    349           <option>0</option>  
    350           <flag>wxTOP|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    351         </object>  
    352         <object class="sizeritem">  
    353           <object class="wxBoxSizer">  
    354             <orient>wxHORIZONTAL</orient>  
    355             <object class="sizeritem">  
    356               <object class="wxCheckBox" name="cbHotKeyShowHideByAppIsActive">  
    357                 <label>App-bound hotkey:</label>  
    358           </object>  
    359               <option>0</option>  
    360               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    361               <border>5</border>  
    362         </object>  
    363             <object class="sizeritem">  
    364               <object class="wxTextCtrl" name="tfHotKeyShowHideByApp">  
    365                   </object>  
    366               <flag>wxALL|wxEXPAND</flag>  
    367               <border>5</border>  
    368             </object>  
    369           </object>  
    370           <option>0</option>  
    371           <flag>wxTOP|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    372         </object>  
    373       </object>  
    374     </object>  
    375     <object class="wxPanel" name="OptionsPageSecurity">  
    376       <object class="wxBoxSizer">  
    377         <orient>wxVERTICAL</orient>  
    378         <object class="sizeritem">  
    379           <object class="wxCheckBox" name="cbProcessAutoGenerated">  
    380             <label>Process auto-generated areas</label>  
    381           </object>  
    382           <option>0</option>  
    383           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    384           <border>5</border>  
    385         </object>  
    386         <object class="sizeritem">  
    387           <object class="wxCheckBox" name="cbInsertionsAllowEval">  
    388             <label>Process insertion scripts</label>  
    389           </object>  
    390           <option>0</option>  
    391           <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    392           <border>5</border>  
    393         </object>  
    394         <object class="spacer">  
    395           <size>5,5</size>  
    396         </object>  
    397         <object class="sizeritem">  
    398           <object class="wxBoxSizer">  
    399             <orient>wxHORIZONTAL</orient>  
    400             <object class="sizeritem">  
    401               <object class="wxStaticText">  
    402                 <label>Script security:</label>  
    403               </object>  
    404               <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    405               <border>5</border>  
    406             </object>  
    407             <object class="sizeritem">  
    408               <object class="wxChoice" name="chScriptSecurityLevel">  
    409                 <content>  
    410                   <item>No scripts</item>  
    411                   <item>No import_scripts</item>  
    412                   <item>No global.import_scripts</item>  
    413                   <item>Allow everything</item>  
    414                 </content>  
    415                 <selection>0</selection>  
    416                   </object>  
    417                 </object>  
    418           </object>  
    419           <option>0</option>  
    420           <flag>wxTOP|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    421         </object>  
    422       </object>  
    423     </object>  
    424     <object class="wxPanel" name="OptionsPageTree">  
    425       <object class="wxBoxSizer">  
    426         <orient>wxVERTICAL</orient>  
    427         <object class="sizeritem">  
    428           <object class="wxCheckBox" name="cbTreeAutoFollow">  
    429             <label>Tree auto-follow</label>  
    430