RJ TextEd

The Unicode source and text editor
It is currently 30 Jun 2016 20:27
Board index » Information » Next release



Post new topic Reply to topic  [ 5 posts ] 
Author
Search for:
Message

Offline
Site Admin
User avatar

Joined: 19 Jul 2006 14:29
Posts: 4788

Post Posted: 10 Jun 2015 15:53 
Top  
I still have ways to go before this version is ready for release. But I'll try to keep you posted on my progress...

Hex View/editor (Text mode and binary mode)
I've removed the 3rd party hex view (hex editor) component and adding hex editing to my text memo instead. As you may already know the text memo can handle data using two modes. Text mode (plain text and code) and binary mode (.exe, .dll files...). It only needs to be able to display the data as hex and ANSI, but without changing the string list data the file is opened into.

By using the same text data when switching to hex view we can make undo/redo work no matter which view we're in. We can even display a text view and a hex view side by side using split view (as seen below).

Attachment:
HexSplit.png
HexSplit.png [ 52.38 KiB | Viewed 2865 times ]


Having the hex view as part of the memo component also means I can add any options I like, change the appearance and use theme colors.

It's not done yet and may take awhile to complete.

Other changes?
I'll add some other minor features, make some improvements and fix some bugs when the hex view/editor is done...

 Profile  

Offline
Site Admin
User avatar

Joined: 19 Jul 2006 14:29
Posts: 4788

Post Posted: 21 Jun 2015 11:32 
Top  
The progress so far...

Hex View
Hex view and hexadecimal editing abilities has been added to the text memo
component. The 3d party hex editor component has been removed.
The loaded text or binary file is not altered or loaded between components
anymore when switching between text and hex mode. Everything is handled by
my text memo component. This means undo/redo always work even if we switch
between views and the hex view can use theme colors.

* Options are available in the context menu.
* You can display 16, 24 or 32 bytes per row.
* You can group 1 or 2 bytes in each column.
* You can display the text as ANSI or ASCII.
* Undo/Redo now works even if you switch between text and hex view.
* Colors can be set in the themes manager.
* Font is set in Options -> Font and tabs.
* Print font size is auto adjusted to make sure the display is fitted to each
printed page.
* Goto (Ctrl+G) a specified address in the file.
* Some of the select functions work in hex view as well, like "Select All",
"Select current line", "Select to EOL"...

You can copy selected byets (or words) as:

ASCII/ANSI
C/C++
C#
Java
Pascal/Delphi
Visual Basic .NET
-
HTML
Rich Text (RTL)

Plain text and code is displayed as 16-bit words and it's indicated at
top left corner. Binary files are displayed as 8-bit bytes.

Document map
Added an option (in font and tabs section) to change the font size.

Printing
Added an option to auto adjust the printer font size to fit all text within
the right margin (or column 80) to the printed page.
This option is set by default and is available in the print dialog window.

Fixed
* Open and save binary files didn't work properly and could corrupt the file.

Search in Hex View is not implemented yet. I'll add it, with support for regular expressions, in the next few days. It still need a bit of testing...

I plan on working on ASCII support. I think a few thing were broken when moving the from version 9.x to 10.x. And there are still room for improvements.

I'll also work a little on encodings and maybe add a "New" dialog somewhere. It should allow you to select things like ANSI or ASCII code page, line breaks etc.

This version may take a while to complete so please be patient...

 Profile  

Offline

Joined: 28 Feb 2015 11:20
Posts: 231

Post Posted: 22 Jun 2015 16:08 
Top  
The new hex view seems to become very impressive; perfect for all works often with it! :-D
But please don't forget this: :wink:
Rickard Johansson wrote:
I'll add some other minor features, make some improvements and fix some bugs when the hex view/editor is done...
But, however, thanks for your hard, excellent work!

 Profile  

Offline
Site Admin
User avatar

Joined: 19 Jul 2006 14:29
Posts: 4788

Post Posted: 03 Jul 2015 14:50 
Top  
The list below is pretty large and I don't want to add too many new features in one release, but maybe one or two more... I still have a few issues to fix as well.

I'll release a beta version maybe this weekend or early next week.

Changes so far,

-----------------------------------------------------------
Version 10.50 (July 2, 2015)
-----------------------------------------------------------

Hex View
Hex view and hexadecimal editing abilities has been added to the text memo component. The 3d party hex editor component has been removed.
The loaded text or binary file is not altered or loaded between components anymore when switching between text and hex mode. Everything is handled by my text memo component. This means undo/redo always work even if we switch between views and the hex view can use theme colors.

* Options are available in the context menu.
* You can display 16, 24 or 32 bytes per row.
* You can group 1 or 2 bytes in each column.
* You can display the text as ANSI or ASCII.
* Undo/Redo now works even if you switch between text and hex view.
* Colors can be set in the themes manager.
* Font is set in Options -> Font and tabs.
* Print font size is auto adjusted to make sure the display is fitted to each printed page.
* Goto (Ctrl+G) a specified address in the file.
* Some of the select functions work in hex view as well, like "Select All", "Select current line", "Select to EOL"...

You can copy selected bytes (or words) as:
ASCII/ANSI
C/C++
C#
Java
Pascal/Delphi
Visual Basic .NET
-
HTML
Rich Text (RTL)

Plain text and code is displayed as 16-bit words and it's indicated at top left corner. Binary files are displayed as 8-bit bytes.

ASCII
ASCII files are handled differently in this version. All ASCII files are opened and loaded without any conversion to Unicode. They are handled as binary files internally. ASCII characters are still displayed correctly for all code pages.
Converting between ASCII code pages will not actually change the file data. Nothing is altered, the characters are only displayed differently depending on which code page is selected.

* You can even convert between ASCII and Unicode (and back).

* Undo/Redo works now with conversion and changing encodings.

* The symbol panel page "ASCII" is now adaptive and always display the full ASCII range based on the current code page used.
If the current ASCII file use OEM Cyrillic - those characters are displayed in the ASCII page.

* ALT + code should work properly now as well and insert the correct values.

Convert between ANSI/ASCII and Unicode
All convert functions in the "Format" menu should work correctly now and work with undo/redo. You never risk loosing anything when doing a conversion. You can undo any conversion operation.

New document...
Added an item to the "New" dropdown list on the main toolbar to create a new file. In the dialog window you can enter name, extension, file type, and encoding. You can also create a new binary file.

It is also available on the "Home" page in the "Create new file" area.

Document map
Added an option (in font and tabs section) to change the font size.

Printing
Added an option to auto adjust the printer font size to fit all text within the right margin (or column 80) to the printed page.
This option is set by default and is available in the print dialog window.

Home page
Made some visual changes to the home page and added an item to open the new dialog window for creating a new document.
It is also possible to open a file as binary (in hex view) using a context menu item.

Script menu
Added a few new menu items to the script menu.

* You can now add scripts to the script menu for quick access. This is a very simple implementation and only list the added scripts at the end of the menu.
You can manage the added scripts (sort, remove...).

* If you select the menu item "Run and select document..." you are prompted to select an open document. This document will be moved to the right side and used as the "Document" in the script.

Misc
* Optimized code and improved editing performance.
* Minor changes to how tab controls are painted.
* Added an output format item to the color dialog for just the RGB values.

Fixed
* Open and save binary files didn't work properly and could corrupt the file.
* Open, save and edit ASCII files didn't work properly.

 Profile  

Offline
Site Admin
User avatar

Joined: 19 Jul 2006 14:29
Posts: 4788

Post Posted: 18 Jul 2015 14:16 
Top  
This version has been released and is available from http://www.rj-texted.se/download.html. Please see the change history on the download page for more details.

 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Jump to:  


Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group :: Style based on FI Subice by phpBBservice.nl :: All times are UTC [ DST ]