PCE version 4C man_modulenamespaceid_tablemodified current_idOIxN class/viewN referenceC hash_tablerefersizeOIxNbothI sN V.view.editorCman_variable_card identifiermodule last_modifiednamesummary descriptionsee_alsoinheritdefaultsOIxN V.view.editorRICdateOIx,RsŲNeditornCstringOIx!Editor object displayed by the view. A view delegates to this editor. Also, the view object is the `visual <-master' of the editor. The displayed editor may be changed after the view has been created. Note that an editor may also switch from displayed text using `editor ->text_buffer'.nnnsNM.view.G.create_editorCman_method_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherit diagnosticsdefaultsbugsOIxNM.view.G.create_editorRIOIx,Rt“N create_editornOIxjCalled by ->initialise if no editor argument was specified. May be redefined to create a suitable editor.nnnnnsNM.view.S.selectionOI xNM.view.S.selectionRIOI x0µ—iN selectionnOI x¤Define the selected part of the text. The implementation on class view invokes immediately the implementation on the associated <-editor. See `editor->selection'.nCchainsizeOI xIENM.view.G.selectedXnnnsNM.view.S.scroll_toOI xNM.view.S.scroll_toRIOIx3‚ęN scroll_tonOIx-Explicitly delegates to `editor ->scroll_to'.nOIxIENM.view.S.normaliseXnnnsNM.view.S.formatOIxNM.view.S.formatRIOIx,RvNformatnOIx^Format (as printf()) a string and insert it at the caret in the editor. See `editor ->format'.nnnnnsNC.viewCman_class_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherituser_interfacebugsOIxNC.viewRIOIx0µ«¢NviewnOIx-A view is a window-based version of an editor. It is implemented as a window that displays a single editor object and resizes this object if the window is resized. A view delegates to its editor object. Inheritance precedes delegation in PCE's message passing primitives. For many methods both defined on class window and class editor the method defined on class editor describes the desired behaviour. Most of the behaviour explicitly defined on class view overrules methods inherited from window and passes them explicitly to the related editor object.OIxIEN$class/editor$C.editorXnnnsNM.view.S.initialiseOIxNM.view.S.initialiseRIOIx5}MŽN initialisenOIxGCreate a view from the specified parameters. The size is interpreted in character units. The default is determined by view.size . When no editor is specified, a default editor is created. Using a user-defined editor is useful to create window versions for subclasses of class editor. See also ->editor and <-create_editor.nnnnnsNM.view.S.clearOIxNM.view.S.clearRIOIx,RvONclearnOIx7Remove all text from the editor. See `editor ->clear'.nnnnnsNM.view.G.selectedOIxNM.view.G.selectedRIOIx,RuvNselectednOI xüRedefines the corresponding window behaviour and calls the selection mechanism of class editor. See `editor <-selected' Get selected string `editor <-selection' Point object with start and end `editor ->selection' Specify selection start end endnnnnnsNM.view.S.normaliseOI!xNM.view.S.normaliseRIOI"x,RvN normalisenOI#xŠRedefine window behaviour to call: `editor ->normalise' Make range of characters visible `editor ->scroll_to' Scroll to character indexnnnnnsNM.view.G.selectionOI$xNM.view.G.selectionRIOI%x0½¹ŁN selectionnOI&xFOverrules inheritance in favour of delegation to `editor <-selection'.nOI'xIENM.view.G.selectedXnnnsNM.view.S.unlinkOI(xNM.view.S.unlinkRIOI)x0µ >NunlinknOI*xXExplicitly ->free's the related editor object, after which `window ->unlink' is invoked.nnnnnXaCnumber O I+xx