I've been able to find a few hex controls by searching online, but none that will compile under Unicode. Does anyone know if there is one available?
Alexey Torgashin's ATBinHex and ATViewer . Did not tried it with unicode delphi versions, but it supports Delphi 2009.
I think that KHexEditor has support for D2009 and D2010, but not tried, I'm currently using D2007...
I think SynEditPlus also has a hex editor control:
http://sourceforge.net/apps/mediawiki/synedit/index.php?title=SynEdit_Home_Page
Related
I have a TChart object where I want to be able to display Unicode characters for the axis labels.
Any help would be appreciated.
Addendum : Delphi 5.0
One option is to write a simple TChart yourself and use code from the TMS Unicode (formerly known ans TNT Unicode) component collection code. The TMS package supports Delphi 6 and higher, but the source code is included. Maybe the original TNT source code is still somewhere on the Internet, it was open source.
Unicode support wasn't introduced in Delphi until 2009 version so you should use TeeChart for Delphi 2009 or above to get native Unicode support.
Delphi 7 and ShellListView it is possible with unicode?
I tried ShellListView, LMD, bsSkinFileListView and TMS Unicode Component. In list i see unicode filenames as i.e.: "????????.txt". Noting works.
Anyone have some idea how to list files/dirs as Windows Explorer with normal visible filenames?
Thanks
Delphi 7 doesn't support Unicode VCL components. You need to upgrade to the latest version of Delphi where all the available shell components have good support for Unicode. Trying to do this in Delphi 7 is simply impractical and nobody is going to invest time doing that nowadays.
I am using the DreamEdit (source code editing) component (of which I have a license and the source).
Sadly, the company behind it (DreamCompany) stopped supporting and upgrading the component some years ago.
Has anyone been using this component too ? And more importantly, has anyone upgraded this component to Delphi 2009 or Delphi 2010 ?
I am willing to pay any reasonable price for this upgrade to Delphi 2010.
Thanks.
I tried to convert it myself but didn't have much luck because of all the Unicode differences, so in the end just decided to convert to SynEdit.
SynEdit is Unicode-enabled and provides much the same functionality as Dream Memo does. It's at http://synedit.sourceforge.net/
Just to give an update on my own question: I looked around some further, found SyntEdit (note the t after Syn, so this is NOT SynEdit), downloaded it, tried it out under Delphi-2010 and bought a license.
It really does seem to fill my needs, is still maintained and is compatible with Delphi-2010 (the main reason why I was looking for another component suite than DreamEdit).
If anyone should be interested: it can be found here:
http://www.econtrol.ru/syntedit.html.
Thanks for all answers ... Erik
LMD SyntaxEdit can be reasonable replacement form DreamEdit - take a look - http://lmd.de/products/vcl/lmdsyntaxedit/
I use TMS AdvMemo
Has anybody used/converted "Delphi Fundamentals" in Delphi 2009? - http://fundementals.sourceforge.net/
I'm using Dictionaries (cArrays.pas,cDictionaries.pas,cStrings.pas,cTypes.pas) in my project and now i have some troubles on upgrading code.
I'll be highly obliged if anybody can convert the above mentioned units in Delphi 2009. I'm quite new to Delphi, started working with 2007 and 2009 has been released, I just cannot help myself...
Thank you
I use cUtils, cDateTime and cStrings in a project.
After a 30 minute session of searching and replacing like a madman I got them to compile in Delphi 2009, with just a couple of warnings left to fix.
Char>>>>AnsiChar
String>>>>AnsiString
PChar>>>>PAnsiChar
PString>>>>PAnsiString
It passes all of its selftests, and so far things seem to work fine. I've shared it here: http://www.xs4all.nl/~niff/Fundamentals_UtilsD2009.zip
Update
I've added a ported cDataStructs.pas to the zipfile, which contains the dictionary classes. This one still has a lot of compiler warnings that you might want to fix, but the self-tests pass, so you could try and see if it works for you..
There is no official version of Delphi Fundamentals for D2009 (and I think there never will be any).
I think it would be the best option to rewrite the dictionary code using the Delphi-native TDictionary<TKey,TValue> class inside Generics.Collections.pas, or using the delphilhlplib (Collections/DeHL.Collections.Dictionary.pas).
Are there any utilities that reformat Delphi code ?
EDIT
I am using Delphi 2006
Some feedback
Thanks to all that answered this question
I have been using the JCF code formatter - it works well and my code is been formated to Object Pascal Style Guide
You can try the "Jedi code Format". See more information here: http://jedicodeformat.sourceforge.net/
The formatting engine of DelForExp has been integrated into the code base of GExperts. An experimental version of GExperts including a "Code formatter" here:
http://blog.dummzeuch.de/experimental-gexperts-version/
Separate information/downloads for DelForExp here.
Regards.
I have been for some time releasing experimental GExperts versions that include the code formatter formerly known as DelForEx with some improvements and fixes. The latest release is from 2020-10-23 and supports the following Delphi versions:
Delphi 6 to 7
Delphi 2005 to 2010
Delphi XE
Delphi XE2 to XE8
Delphi 10 to 10.4
Delphi 11 (Danger, Alpha version for now 2021-10-24)
Please note, though, that I am using it only with Delphi 2007, so the other versions may have unknown bugs. Also, not all language improvements of later Delphi versions will work, e.g. nested types, generics and anonymous methods.
see gexperts.dummzeuch.de for details.
btw: Any help improving the formatter, especially adding the new language constructs would be appreciated. The source code can be downloaded from the subversion repository linked from my homepage.
I found this: JEDI Code Format
lextudio - Code Beautifier Collection 6 for CodeGear RAD Studio 2007
http://code.google.com/p/lextudio/
Yes,
I always used TWM's experimental version os GExperts which support this feature.
In Delphi 2006 and 2007 it works perfectly (Don't know about older versions though).
The current version is adding support to Delphi 2009, but I don't know in which stage it is, you can find more about it here:
http://www.dummzeuch.de/delphi/gexperts/english.html
BTW: There is an integrated Source Code Formatter since Delphi 2010.
Free Pascal also has a codeformatter, ptop, but it only implements the more basic dialect (say D4-D6 level).
Lazarus recently changed to use the Jedi codeformatter afaik.
The TWM version of GExperts works well and is nicely integrated into the IDE. It enables you to write and modify your code without worrying too much about exact formatting, then just hit the assigned hot-key and it instantly reformats. I have always found it easy to set up to match the style I prefer, and not as complex as JEDI Code Format, which looked like overkill to me.
The Delphi 2009 version is now available from the link posted above, though based on a beta release of GExperts. It is still much the same formatter underneath, though, and is unaware of the syntax of some of the newer Delphi enhancements.
I just made an online pascal code beautifier based on JCF. You may try it at https://pak.lebah.web.id/jcf
HTH.
There is OPEdit II which is free, and works very well.
It's a full text editor, with code refactoring and code browsing.
There is a text formatter, which uses the internal code parser, therefore handle conditional defines just as a real Delphi compiler.
See http://www.codefactor2.com
There is a program PascalFormat