U-BED (Unicode BCX Editor) by Ian Casey

Started by Ian Casey (RIP), June 13, 2021, 05:36:35 PM

Previous topic - Next topic

Ian Casey (RIP)

Thanks Robert,
Darn,
switching back and forth between "normal' ascii code and unicode I missed that before saving the updated code.

I hate it when a single apostrophe messes up the whole thing

It's corrected now.

Robert

Quote from: iancasey on March 26, 2022, 01:40:05 PM
Another update
Added options to Open/Save UTF-8,UTF-16LE and UTF-16BE files only to UBed.
Added option to open csv files.

The Save as options are only in the File menu, if anyone knows how to get a SaveAs dialog box with encoding option please let me know.

Hi Ian:

Thanks for the update.

Bug Report:

Error!
bed.bas
Unbalanced $Comment at line 3658 in Module: bed.bas
Original line
$COMMENT
==============
Current Tokens
==============
  1 $COMMENT
===============
Original Tokens
===============
  1 $COMMENT

The fix:

The apostrophe commenting out the $COMMENT at line 12 must be removed for a default ANSI BED32A build.

Ian Casey (RIP)

Another update
Added options to Open/Save UTF-8,UTF-16LE and UTF-16BE files only to UBed.
Added option to open csv files.

The Save as options are only in the File menu, if anyone knows how to get a SaveAs dialog box with encoding option please let me know.

Ian Casey (RIP)

#23
An update due to scintilla page not set when changing latest tabs code.
I have also set it where a tab not selected can be moved without affecting the currently selected tab, a simple click will select it.



Ian Casey (RIP)

oops, sorry about that, I have added "enabledrag.inc" to the latest upload.




Robert

Quote from: iancasey on November 29, 2021, 12:46:05 PM
Just another update:

Added full drag/drop re-Order tabs in tab control with multi-line control.
Added code to use new centering codes when using multiple monitors..
Fixed bug, losing icon in tab when redrawing.

Unable to locate enabledrag.inc at line 61 in Module: BEd.bas

Original line

$INCLUDE "enabledrag.inc"

Ian Casey (RIP)

Just another update:

Added full drag/drop re-Order tabs in tab control with multi-line control.
Added code to use new centering codes when using multiple monitors..
Fixed bug, losing icon in tab when redrawing.



Ian Casey (RIP)

MRU
I found this from Mike Henning in case you still want to look at it.

Ian Casey (RIP)

Thanks,
I'm glad you found it, I thought someone here or on PellesC had brought that up a couple of months ago so I removed it, I guess I forgot that comment.

I have made that change and fixed a bug in copying outbox, and uploaded the revised files.

Robert

Quote from: Robert on November 12, 2021, 08:46:24 PM
Quote from: iancasey on November 12, 2021, 04:20:20 PM
On line 159 of Regoptions.bas ADD:   IF LEN(buffer$)= 0 THEN buffer$ = LoadResString$(BCX_hInstance, 1011, "")

Hi Ian:

Thanks, that helped.

Compiled as 32 bit Unicode with Pelles C.

Menu item, Tools/Configure IDE does not work.

I need that because the screen is unreadable.  I would like to change the font to Consolas and reset the font size.

Hi Ian:

The problem was the Pelles C optimizer. Surprised ? NOT !

You should revise line 32 in bedunicodefuncs.bas

'pocc -W1 -Ot -Gd -Go -Ze -Zx -MT -Tx86-coff -D_WIN32_WINNT=0x0A00  -DUNICODE -D_UNICODE filename.c

and remove the -Ot.

Robert

Quote from: iancasey on November 12, 2021, 04:20:20 PM
On line 159 of Regoptions.bas ADD:   IF LEN(buffer$)= 0 THEN buffer$ = LoadResString$(BCX_hInstance, 1011, "")

Hi Ian:

Thanks, that helped.

Compiled as 32 bit Unicode with Pelles C.

Menu item, Tools/Configure IDE does not work.

I need that because the screen is unreadable.  I would like to change the font to Consolas and reset the font size.

Ian Casey (RIP)

okay, in Tools | Colors  pick a color theme, black on black is hard to read

I will set a default for future releases.


Robert

Quote from: iancasey on November 12, 2021, 12:57:55 PM
Unfortunately I only use PellesC and it won't compile it see this post from May.

QuoteI'll try 32 bit and if that doesn't work then I'll come back here and yell at you.
OKAY,
I'll turn my speakers on again after  ;D

Hi Ian:

It compiled, Pelles C, and appeared on the screen but when I loaded a file, there was nothing in the editor. I thought I'd change the font, but when I clicked on the configure IDE button, Bed totally shut down.

Are you sure you posted the correct complete source code ?

Ian Casey (RIP)

Unfortunately I only use PellesC and it won't compile it see this post from May.

QuoteI'll try 32 bit and if that doesn't work then I'll come back here and yell at you.
OKAY,
I'll turn my speakers on again after  ;D


Robert

Quote from: iancasey on November 11, 2021, 12:11:49 PM
Update for MRU at the previous URL, changed colors in the ini file and .RC to RGB. Also added output panel to capture console output and scroll to last line.

Hi Ian:

After changing DWL_MSGRESULT to DWLP_MSGRESULT in Bcxnavigator.inc, I got your bed.bas to compile with Pelles C 64 bit.

Alas, woe is me, nothing happens when I try and run it. Nothing! No evidence in task manager. Fix for this is above my pay grade (skill level).

I'll try 32 bit and if that doesn't work then I'll come back here and yell at you.