Author Topic: Bcx EDitor (BED)  (Read 21069 times)

mekanixx

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: Bcx EDitor (BED)
« Reply #15 on: August 30, 2022, 11:11:25 PM »
Mr BCX:
Quote
I'm shelving the Calltips and Autocomplete code in favor of making it easier to get context-help from the included BCX and WinAPI chm files.

Hello Mr BCX,  I have uploaded some help files you might find helpful for use in BED. if you are interested they are here:

https://app.box.com/s/y49tnfhtpm78otxczt6adg777rce57nf

(GDI, SHELL and WINUI)

BTW, I implemented calltips using SCN_DWELLSTART, SCN_DWELLEND and SCI_SETMOUSEDWELLTIME. You hover over the keyword for a preset time to see the tip. This gives time to move the cursor if you don't want to see the tips.

If you need to see the tip then you wait for the tip to show.

BED is looking good! HTH

Doyle

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
    • View Profile
Re: Bcx EDitor (BED)
« Reply #16 on: August 31, 2022, 12:13:53 AM »
Hi Doyle,

Thank you for the files and the suggestion about calltip dwelling. 

Laurence Jackson's Win32.chm, which I include with Bed, is almost 11MB and fairly close in filesize to the sum of sizes of the chm files you shared,
so there's likely lots of overlap there.  Even so, I like the topic based nature of your files and other might too.

On the subject of calltip dwelling, I imagine that technique would overcome most (possibly all) of the stumbling blocks caused doing calltips the other way.  I may have to rethink my rethink.  :-)

Many Scintilla-based editors/IDE's throw everything and the kitchen sink into the UI.
I'm going in the opposite direction.  Less is more.  Keep things useful, quick, and simple.
The next version will include these improvements:

' BUILD does a much better job handling PATHS with spaces.
' Added fonts and sizes to Themes
' F1 a selected BCX keyword opens BcxHelp.  SHIFT-F1 a selected item opens Win32Help
' Improved restoration of previous font set when user clicks CANCEL on Settings dlgbox


MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
    • View Profile
Re: Bcx EDitor (BED)
« Reply #17 on: August 31, 2022, 06:15:40 PM »
New version has been uploaded.

Revisions:

' Implemented CALLTIPS for builtin BCX functions.  It works by a
' user selecting a keyword then hovering over it, making it less obtrusive.

' F7 pops up a common Windows DataType ListBox - a new Scintilla experience for me.

' Go-To-Line now examines and uses the clipboard, if it contains a number

' BUILD does a much better job handling PATHS with spaces.

' F1 a selected BCX keyword opens BcxHelp.  SHIFT-F1 a selected item opens Win32Help

' Added fonts and sizes to Themes

' Improved restoration of previous font set when user clicks CANCEL on Settings dlgbox
« Last Edit: November 09, 2023, 07:29:11 PM by MrBcx »

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
    • View Profile
Re: Bcx EDitor (BED)
« Reply #18 on: September 01, 2022, 01:41:42 PM »
I had a cool idea today. 

This morning, I re-worked the F7 popup key, so that it would read its list contents from a simple text file.
That means when YOU press F7, whatever YOU stored in that particular text file will appear in the popup listbox.

That's cool ...

It was so easy to implement, that I also made it to work with the  F8, F9, F10, F11, and F12 keys.
Yes, that means YOU get to have six (6) separate text files that will populate those 6 different listboxes.

That's really cool ...
Here's a short demo:             https://bcxbasiccoders.com/bcxusers/mrbcx/F-keys.gif

I've pre-filled the 6 text files (listed below), just so there would initially be something in them. 
But YOU can completely re-fill them with any kind of list that you want.   
The text filenames must not change.

       /Bed/List/F7_List.txt
       /Bed/List/F8_List.txt
       /Bed/List/F9_List.txt
       /Bed/List/F10_List.txt
       /Bed/List/F11_List.txt
       /Bed/List/F12_List.txt


 F7     Math Statements and Functions
 F8     String Statements and Functions
 F9     GUI Statements and Functions
 F10    Directives
 F11    File and Folder Statements and Functions
 F12    Program Flow Statements and Functions


You can even edit any of those 6 text files while BED is running and your changes will
appear when you press its F-key.  You don't need to restart BED or close any files.


« Last Edit: November 09, 2023, 07:31:21 PM by MrBcx »

Ad_Rienks

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Bcx EDitor (BED)
« Reply #19 on: September 01, 2022, 02:18:24 PM »
There is something that does not work for me. The help files can not be found.

It must be because "%~dp0\" is not recognized by my Win10 system?
When the links are hardcoded to the absolute path, it works.
I find it a bit annoying to get into the settings to edit with every new version ... not that I do not appreciate the new features added with each new version!  :)

BTW; I have unblocked the help files!
« Last Edit: September 01, 2022, 02:20:12 PM by Ad_Rienks »

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
    • View Profile
Re: Bcx EDitor (BED)
« Reply #20 on: September 01, 2022, 02:44:49 PM »
Ad,

Before updating to a new version, save a copy of your bed.ini file then you won't have to keep re-editing the path.

That also preserves your MRU file list, searches, tools, and other settings.


UPDATE: 


On second thought, I'm not going to include a default Bed.ini in future versions.

When a user runs Bed.exe the first time, Bed.ini will be created, if it is missing.
« Last Edit: September 01, 2022, 03:37:51 PM by MrBcx »

Ad_Rienks

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Bcx EDitor (BED)
« Reply #21 on: September 01, 2022, 04:04:54 PM »

On second thought, I'm not going to include a default Bed.ini in future versions.

When a user runs Bed.exe the first time, Bed.ini will be created, if it is missing.

Yeah, that's a very good idea!  :)

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
    • View Profile
Re: Bcx EDitor (BED)
« Reply #22 on: September 05, 2022, 04:02:35 PM »
A new version of Bcx Editor (BED) is available.

REVISIONS:

 BcxHelp.chm and Win32API.chm REMOVED from the BED.INI file

 BED now -REQUIRES- the following PATHS to find them:
          BcxHelp$   = APPEXEPATH$ + "\Help\BcxHelp.chm"
          Win32Help$ = APPEXEPATH$ + "\Help\Win32.chm"

 [Settings] has been reduced to two tabs:  "Appearance" and "Add Tools"

 Tweaked the appearance of BED's Main and popup menus

 Added Zoom Reset to the View Menu

 [Save As] now appends ".bas" when no extension is detected.

 Renamed several source files and continued code clean up.

 Bug fix for SCN_DWELLSTART notification on large selections.

« Last Edit: November 09, 2023, 07:32:06 PM by MrBcx »

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
    • View Profile
Re: Bcx EDitor (BED)
« Reply #23 on: September 09, 2022, 08:06:18 PM »
I added a few more improvements to BED.

' Added ".hpp", ".hxx", and ".txt" recognition to Navigator. 

' If  you tell Windows to use BED instead of Notepad to open ".txt"
' files, BED will open "*.txt" files with the Notepad theme.  That
' is currently set to dark mode but you can edit that as you wish.

' Added "Go To Line" to the Context (right-click) Menu.

' Added "Find & Replace" to the Context (right-click) Menu.

' New CppCFiles.txt syntax file is automatically used when opening
' C/C++ files.  The active colors are saved while the C/C++ file
' is being loaded and then restored, remaining in effect until a user
' explicitly changes them using Tools|Settings|Appearance Dialog.
' In other words, different color themes on different tabs.
« Last Edit: August 13, 2023, 05:53:08 PM by MrBcx »

dragon57

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Bcx EDitor (BED)
« Reply #24 on: September 09, 2022, 11:57:55 PM »


VERY nice. Thanks.
« Last Edit: August 13, 2023, 05:53:29 PM by MrBcx »

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
    • View Profile
Re: Bcx EDitor (BED)
« Reply #25 on: August 18, 2023, 08:28:13 PM »
Updated bed.zip : https://bcxbasiccoders.com/smf/index.php?topic=420.0

New BCX reserved words added to syntax highlighter.

Updated source, exe, syntax files.


jbk

  • Sr. Member
  • ****
  • Posts: 277
    • View Profile
Re: Bcx EDitor (BED)
« Reply #26 on: August 19, 2023, 06:12:54 AM »
hello MrBcx
I like the new features in BED 8.0.2 but there's a problem, the keyboard shortcuts don't work anymore
« Last Edit: August 19, 2023, 08:39:09 AM by jbk »

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
    • View Profile
Re: Bcx EDitor (BED)
« Reply #27 on: August 19, 2023, 08:44:09 AM »
hello MrBcx
I like the new features in BED 8.0.2 but there's a problem, the keyboard shortcuts don't work anymore

Thanks JB

I moved some things around in the latest version, so I suspect it's a sequencing issue.

I'll sort it out and announce when a new version is available.


MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
    • View Profile
Re: Bcx EDitor (BED)
« Reply #28 on: August 19, 2023, 11:15:02 AM »
hello MrBcx
I like the new features in BED 8.0.2 but there's a problem, the keyboard shortcuts don't work anymore

-UPDATE-

I restored the functioning of the keyboard accelerators and updated bed.zip.

https://bcxbasiccoders.com/smf/index.php?topic=420.0



jbk

  • Sr. Member
  • ****
  • Posts: 277
    • View Profile
Re: Bcx EDitor (BED)
« Reply #29 on: August 19, 2023, 11:39:03 AM »
👍😁