Author Topic: U-BED (Unicode BCX Editor) by Ian Casey  (Read 4231 times)

Robert

  • Hero Member
  • *****
  • Posts: 1256
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #15 on: November 12, 2021, 08:46:24 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.

Robert

  • Hero Member
  • *****
  • Posts: 1256
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #16 on: November 13, 2021, 02:51:50 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.

Ian Casey (RIP)

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #17 on: November 14, 2021, 12:53:09 AM »
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.

Ian Casey (RIP)

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #18 on: November 15, 2021, 12:18:27 PM »
MRU
I found this from Mike Henning in case you still want to look at it.

Ian Casey (RIP)

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #19 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.



Robert

  • Hero Member
  • *****
  • Posts: 1256
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #20 on: November 30, 2021, 12:53:10 AM »
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)

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #21 on: November 30, 2021, 06:05:09 AM »
oops, sorry about that, I have added "enabledrag.inc" to the latest upload.




Ian Casey (RIP)

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #22 on: December 01, 2021, 12:00:00 PM »
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.


« Last Edit: December 01, 2021, 12:21:53 PM by iancasey »

Ian Casey (RIP)

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #23 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.

Robert

  • Hero Member
  • *****
  • Posts: 1256
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #24 on: March 26, 2022, 03:39:10 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)

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: U-BED (Unicode BCX Editor) by Ian Casey
« Reply #25 on: March 26, 2022, 05:04:32 PM »
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.