Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dav IDE
#1
hello Dav
I really really like to use your IDE for my qb64 programming 
but i don't see a way to set Font size to something smaller
( easpecially when larger programs is case)
i use in my own editor Consolas 10 in my Windows programs
i specially like dark theme named "Davs Colors"
i  remeber that you sayed ..you made it in Purebasic..

or maybe you have newer version ?
tnx
Reply
#2
Thanks for the comments.  Only 12, 14 & 16pt font sizes are available in the last released IDE.  I would have to recompile it to add another font size.  I started working on v1.30, to update it to see the newer QB64 commands and fix bugs (it also auto spaces/beautifies the code blocks like the QB64 IDE).  Unfortunately I got burned out on it and it was starting to hurt my wrists doing all that coding so i took a break.  I'm not done with it yet, and not sure when I will put it up for download.  Yes, it is made in Purebasic.  If I do update it then yes I will add 10pt font for you.

- Dav

Find my programs here in Dav's QB64 Corner
Reply
#3
Thanks Dav
I just have one question can you tell me how look scintilla
code for your Dav's Color theme i really like it ..it is one of best dark style i have see.
or i need to guess using some sort of Color picker.
Reply
#4
Thanks aurel.   I use the GoScintilla Library for PureBasic, so I'm setting colors through that.  I also made a QB64 IDE style with those colors.  I'll post the RGB values for it also. 

When I get back home tonight I will dig those up for you and post it here - it's on my laptop there.

- Dav

Find my programs here in Dav's QB64 Corner
Reply
#5
OK thanks ..Dav!
Reply
#6
Hi @aurel. Sorry for the delay.  Here's the PureBasic code where I'm setting the Scintilla colors for Dav's Colors:

Code: (Select All)
If colors_davstyle = 1
    ;Set individual styles for commands.
   GOSCI_SetStyleFont(#EDIT1, #STYLES_COMMANDS, "", -1)
   GOSCI_SetStyleColors(#EDIT1, #STYLES_COMMANDS, RGB(86,165,236))
   ;Set individual styles for comments.
   GOSCI_SetStyleColors(#EDIT1, #STYLES_COMMENTS, RGB(97,121,159))
   ;Set individual styles for literal strings.
   GOSCI_SetStyleColors(#EDIT1, #STYLES_LITERALSTRINGS, RGB(100,200,150))
   ;Set individual styles for numbers.
   GOSCI_SetStyleColors(#EDIT1, #STYLES_NUMBERS, #White)    
   ;Set individual styles for constants.
   GOSCI_SetStyleColors(#EDIT1, #STYLES_CONSTANTS, RGB(205,218,243))
   ;Set individual styles for functions.
   GOSCI_SetStyleColors(#EDIT1, #STYLES_FUNCTIONS, RGB(86,165,236))  
   ;Set individual styles for separators.
   GOSCI_SetStyleColors(#EDIT1, #STYLES_SEPARATORS, #White) 
   ;Set individual styles for operators.
   GOSCI_SetStyleColors(#EDIT1, #STYLES_OPERATORS, RGB(205,218,243))  
  EndIf

That probably isn't too helpful for you, but here are the default 'Dav's IDE' colors and 'Dav's Colors' scheme setting for the QB64 IDE.

Code: (Select All)
'[IDE COLOR SCHEMES]
Scheme2$ = "Davs Colors|205218243086165236255255255100200150086165236097121159033050069047064091051153255"
Scheme1$ = "Dav's IDE|255255255255255000255255128128255255255255000128255128000064064010074074128255128"

Finally, here's the 'Dav's Colors' (R,G,B) colors for each item:

Normal text: (205,218,243)
Keywords: (86,165,236)
Numbers: (255,255,255)
Strings: (100,200,150)
Metacommand/custom keywords: (86,165,236)
Comments: (97,121,159)
Background: (33,50,69)
Current line background: (47,64,91)
Bracket/selection highlight: (51,153,255)

- Dav

Find my programs here in Dav's QB64 Corner
Reply
#7
thanks Dav

Quote:That probably isn't too helpful for you, but here are the default 'Dav's IDE' colors and 'Dav's Colors' scheme setting for the QB64 IDE.

No..the oposite it is very helpful because i can test this in scintilla control directly
Reply
#8
(05-30-2022, 09:01 AM)aurel Wrote: hello Dav
I really really like to use your IDE for my qb64 programming 
but i don't see a way to set Font size to something smaller
( easpecially when larger programs is case)
i use in my own editor Consolas 10 in my Windows programs
i specially like dark theme named "Davs Colors"
i  remeber that you sayed ..you made it in Purebasic..

or maybe you have newer version ?
tnx

I usually use Dav's IDE with QB64.  I would also like to see a 10 point font (Consolas would be fine).

I've not been programming with QB64 since before its change to QB64 Phoenix.  What I am finding is that I get a compile error with V0.6 and 0.7.1 using Dav's IDE.  I don't get it with the QB64 IDE.  Doesn't need to be complicated  code.  Something as simple as:

Code: (Select All)
for x = 1 to 5
   print "x = ";x
next

comes up with the error "ERROR: C++ compilation failed".

The compilelog.txt file shows:

 internal\c\c_compiler\bin\c++.exe -w -DGLEW_STATIC -DFREEGLUT_STATIC -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE internal\c/qbx.cpp -c -o internal\c/qbx.o

internal\c\c_compiler\bin\c++.exe -w -DGLEW_STATIC -DFREEGLUT_STATIC -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE internal\c/libqb/libqb_make_0000000000000.o  internal\c/qbx.o -o "C:\Users\raywo\Documents\A_Programming\BASIC\QB64\_avsIDE-TEMPFILE.exe"  internal\c/parts/core/src.a  -static-libgcc -static-libstdc++ -mwindows -lopengl32 -lglu32 -lwinmm

internal\c\c_compiler\bin\objcopy.exe --only-keep-debug "C:\Users\raywo\Documents\A_Programming\BASIC\QB64\_avsIDE-TEMPFILE.exe" "internal\temp/_avsIDE-TEMPFILE.exe.sym"

internal\c\c_compiler\bin\objcopy.exe --strip-unneeded "C:\Users\raywo\Documents\A_Programming\BASIC\QB64\_avsIDE-TEMPFILE.exe"

The above compile error file means nothing to me but may be helpful

I have tried on both Windows 11 and Windows 10 computers with the same result.

QB64 installation method:
Download QB64 Phoenix and drag the resultant QB64 folder to C:\.
Download Dav's IDE from his website and drag the 2 files into QB64.  DavsIDE.ini is produced on running DavsIDE.exe.

I hope the problem can be resolved to enable me to use Dav's IDE again.
Reply
#9
@RNBW. Wow, thanks for that report.  I don't get that error in Win7.   Obviously DavsIDE is handling/calling the temp files differently under Win10 & Win11.  I will put this bug at the top of the list.  I have access to a Win10 tablet to test on.  I'm going bug hunting with it!  Thanks -- this is the motivation I needed to get back on it.  That's two votes for 10pt font.  Will do ...

- Dav

Find my programs here in Dav's QB64 Corner
Reply
#10
I would point out that the IDE worked OK with QB64 V0.5 in both Windows 10 and 11.
Reply




Users browsing this thread: 4 Guest(s)