Scintella supports it by connecting two Scintella gadgets.
Very raw example:
Code:
Procedure Callback_Scintilla_0()
EndProcedure
Procedure Callback_Scintilla_1()
EndProcedure
;;
; This code is automatically generated by the FormDesigner.
; Manual modification is possible to adjust existing commands, but anything else will be dropped when the code is compiled.
; Event procedures needs to be put in another source file.
;
InitScintilla()
Enumeration FormWindow
#Window_0
EndEnumeration
Enumeration FormGadget
#Scintilla_0
#Scintilla_1
EndEnumeration
Procedure OpenWindow_0(x = 0, y = 0, width = 600, height = 400)
OpenWindow(#Window_0, x, y, width, height, "", #PB_Window_SystemMenu)
ScintillaGadget(#Scintilla_0, 10, 10, 578, 174, @Callback_Scintilla_0())
ScintillaGadget(#Scintilla_1, 14, 190, 574, 194, @Callback_Scintilla_1())
EndProcedure
Procedure Window_0_Events(event)
Select event
Case #PB_Event_CloseWindow
ProcedureReturn #False
Case #PB_Event_Menu
Select EventMenu()
EndSelect
Case #PB_Event_Gadget
Select EventGadget()
EndSelect
EndSelect
ProcedureReturn #True
EndProcedure
;;
OpenWindow_0()
Define pdoc
pdoc = SendMessage_(GadgetID(#Scintilla_0), #SCI_GETDOCPOINTER, 0, 0)
Debug pdoc
SendMessage_(GadgetID(#Scintilla_1), #SCI_SETDOCPOINTER, 0, pdoc)
Repeat
e = WaitWindowEvent()
Window_0_Events(e)
Until e = #PB_Event_CloseWindow
PowerBasic example:
https://www.garybeene.com/code/gbsnippets_gbs_00644.htmCan't even split tabs into multiple simultaneous views (left/right would be a start).
Kind of part workaround: disable "Run only one Instance" in Preferences/General
offtopic About the IDE github project: would be wise for PB to spend some time to get it to compile easy. Check out is one, getting it to run is quite hard from what I have read. Missing EnableExplicit in almost all sources is a shock for me personally. A source of bugs. Aah found an github issue about it:
https://github.com/fantaisie-software/p ... /issues/26 . Seems they open sourced it without proper source cleanup/preparation and instructions which hinders community efforts.