mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 15:00:38 +00:00
Merge remote-tracking branch 'fellippe/IDE-Improvements'
This commit is contained in:
commit
b3eb77b523
|
@ -193,6 +193,20 @@ IF LoadedIDESettings = 0 THEN
|
|||
ideindentsubs = 0
|
||||
end if
|
||||
|
||||
result = ReadConfigSetting("IDE_SortSUBs", value$)
|
||||
idesortsubs = VAL(value$)
|
||||
IF UCASE$(value$) = "TRUE" OR idesortsubs <> 0 THEN
|
||||
idesortsubs = 1
|
||||
elseif result = 0 then
|
||||
WriteConfigSetting "'[IDE DISPLAY SETTINGS]", "IDE_SortSUBs", "FALSE"
|
||||
idesortsubs = 0
|
||||
ELSEIF UCASE$(value$) <> "FALSE" AND value$ <> "0" THEN
|
||||
WriteConfigSetting "'[IDE DISPLAY SETTINGS]", "IDE_SortSUBs", "TRUE"
|
||||
idesortsubs = 1
|
||||
else
|
||||
idesortsubs = 0
|
||||
end if
|
||||
|
||||
result = ReadConfigSetting("IDE_IndentSize", value$)
|
||||
ideautoindentsize = VAL(value$)
|
||||
if ideautoindentsize < 1 OR ideautoindentsize > 64 then
|
||||
|
|
|
@ -177,6 +177,8 @@ TYPE idedbotype
|
|||
foc AS LONG
|
||||
sel AS LONG 'selected item no.
|
||||
stx AS LONG 'selected item in string form
|
||||
issel AS _BYTE 'selection indicator (for text boxes only)
|
||||
sx1 AS LONG 'selection start (for text boxes only)
|
||||
v1 AS LONG
|
||||
num AS LONG
|
||||
END TYPE
|
||||
|
@ -185,11 +187,11 @@ DIM SHARED idefocusline 'simply stores the location of the line to highlight in
|
|||
DIM SHARED ideautorun
|
||||
DIM SHARED menu$(1 TO 10, 0 TO 20)
|
||||
DIM SHARED menusize(1 TO 10)
|
||||
DIM SHARED menus AS INTEGER
|
||||
DIM SHARED menubar$
|
||||
DIM SHARED menus AS INTEGER, idecontextualmenuID AS INTEGER
|
||||
DIM SHARED menubar$, idecontextualSearch$
|
||||
DIM SHARED ideundocombo, ideundocombochr, idenoundo, idemergeundo
|
||||
DIM SHARED idealthighlight, ideentermenu
|
||||
DIM SHARED ideautolayout, ideautoindent, ideautoindentsize, ideindentsubs, idebackupsize
|
||||
DIM SHARED ideautolayout, ideautoindent, ideautoindentsize, ideindentsubs, idebackupsize, idesortsubs
|
||||
DIM SHARED idewx, idewy, idecustomfont, idecustomfontfile$, idecustomfontheight, idecustomfonthandle
|
||||
DIM SHARED iderunmode
|
||||
'IDE MODULE SECTION END: shared data & definitions
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue