Update Ring Notepad - rnoteview.ring - CreateFunctionsList() method.
@@ -20,16 +20,7 @@ class RNoteView
this.CreateProjectFiles()
this.CreateSourceCode()
this.CreateWebBrowser()
- # Functions List
- this.aFunctionsPos = [] # Lines Numbers for each function
- this.oFunctionsList = new qListwidget(this.win1) {
- setitemdoubleclickedEvent(Method(:pSelectFunction))
- setitemactivatedEvent(Method(:pSelectFunction))
- }
- this.oDockFunctionsList = new qDockwidget(this.win1,0) {
- setWidget(this.oFunctionsList)
- setwindowtitle("Functions")
- }
+ this.CreateFunctionsList()
# Classes List
this.aClassesPos = [] # Lines Numbers for each class
this.oClassesList = new qListwidget(this.win1) {
@@ -924,3 +915,16 @@ class RNoteView
setwindowtitle("Web Browser")
}
}
+
+ func CreateFunctionsList
+ win1 {
+ this.aFunctionsPos = [] # Lines Numbers for each function
+ this.oFunctionsList = new qListwidget(this.win1) {
+ setitemdoubleclickedEvent(Method(:pSelectFunction))
+ setitemactivatedEvent(Method(:pSelectFunction))
+ }
+ this.oDockFunctionsList = new qDockwidget(this.win1,0) {
+ setWidget(this.oFunctionsList)
+ setwindowtitle("Functions")
+ }
+ }
