Search found 1049 matches

by Rickard Johansson
07 Apr 2015 15:10
Forum: Bug reports
Topic: Bug reports in this forum
Replies: 0
Views: 16863

Bug reports in this forum

Please use this forum when posting bug reports for beta versions. It will keep the normal bug report thread a bit cleaner and all beta related issues in the same place.
by Rickard Johansson
07 Apr 2015 14:15
Forum: Bug reports
Topic: SOLVED? Crash
Replies: 5
Views: 9124

Re: SOLVED? Crash

Well, the crash occur in the exception catcher software and not in the main program. It's not 100% reliable (and never has been) but it's still usable in a beta build to catch problems...
by Rickard Johansson
07 Apr 2015 13:27
Forum: Bug reports
Topic: SOLVED? Crash
Replies: 5
Views: 9124

Re: SOLVED? Crash

I get the same error when just opening the program while VMWare Player is running (at least sometimes). It seems to be very random. Sometimes it runs just fine, but after some work in VMWare Player, or opening and closing browsers etc. it suddenly wont run again. Do you still get the same error if y...
by Rickard Johansson
07 Apr 2015 12:15
Forum: Bug reports
Topic: SOLVED? Crash
Replies: 5
Views: 9124

Re: Crash

I think it's the good old exception catcher software issue with virtual software, like when VMWare Workstation is running... There's nothing I can do about it. The exception catcher software is not included in the final release. It's only included in debug and beta versions.
by Rickard Johansson
10 Mar 2015 21:26
Forum: News
Topic: Home page and forum moved to new web host
Replies: 1
Views: 13159

Re: Home page and forum moved to new web host

I forgot to backup your files uploaded to this forum. Sorry about that. There may be an avatar missing as well...
by Rickard Johansson
10 Mar 2015 00:11
Forum: News
Topic: Home page and forum moved to new web host
Replies: 1
Views: 13159

Home page and forum moved to new web host

I've moved the forum and the RJ TextEd site to a new web hosting provider. Hopefully it will solve a few issues, especially with the slow forum speeds.
by Rickard Johansson
09 Mar 2015 15:03
Forum: News
Topic: DDOS attacks and slow forum
Replies: 0
Views: 10539

DDOS attacks and slow forum

My web hosting provider is under DDOS attack and has been for a few days now. Because of this the forum is sometimes very slow and hard to access.

I'm considering moving my home page and forum to a different web host...
by Rickard Johansson
26 Jan 2015 17:25
Forum: Scripts
Topic: How do I use SaveToFile in order to...?
Replies: 4
Views: 15525

Re: How do I use SaveToFile in order to...?

This code will work in v10.20. { String s = ""; string sz = "C:\\Test.txt"; var size = FileSize(sz); if (FileExists(sz)) { Word mode = fmOpenReadWrite; TFileStream stream = TFileStream.Create(sz, mode); try { s = stream.ReadString(size, encAnsi); s = s + "This text is append...
by Rickard Johansson
26 Jan 2015 13:14
Forum: Scripts
Topic: How do I use SaveToFile in order to...?
Replies: 4
Views: 15525

Re: How do I use SaveToFile in order to...?

Maybe streams are are a better choice. I've fixed the issues and I'll release v10.20 beta in a few days. I've also made some updates to the help file. You could use // Read an UTF8 file to a string. WORD mode = fmOpenRead; TFileStream stream = TFileStream.Create("C:\\Test.txt", mode); try ...
by Rickard Johansson
26 Jan 2015 11:56
Forum: Scripts
Topic: How do I read from a file?
Replies: 2
Views: 12707

Re: How do I read from a file?

You could try:

Code: Select all

TStringList list = TStringList.Create;
try
  list.LoadFromFile("C:\\Test.txt");
  var text = list.Text;
  ...
finally
   list.Free;
end;
or

Code: Select all

WStrings.LoadFromFile("filename.txt");
var text = WStrings.GetText;
I'll look into the stream issue.
by Rickard Johansson
23 Dec 2014 09:54
Forum: News
Topic: Merry Christmas 2015
Replies: 1
Views: 12316

Merry Christmas 2015

Image
Merry Christmas everyone!
by Rickard Johansson
01 Nov 2014 11:46
Forum: Scripts
Topic: Simple script - works slightly differently with RJTE upgrade
Replies: 3
Views: 14522

Re: Simple script - works slightly differently with RJTE upg

I've made a couple of changes in v10 (beta 1) that may help. The "Clipboard" object enables access to the Windows clipboard. Ex. String s = Clipboard.AsText; ... Clipboard.AsText = s; I also added an argument to the close function. bool Document.Close(bool bDiscardChanges = false); If you ...
by Rickard Johansson
10 Jul 2014 17:58
Forum: News
Topic: 64 bit version and Delphi XE6...
Replies: 2
Views: 13954

Re: 64 bit version and Delphi XE6...

These are superb news and what I really like about your wording is that it is "we" who get those compilers :) Yet another sign of your grandeur. Well, it does benefit us all. Right 8) Btw my Comodo AV gives me warning about 32-bit file, purportedly containing ApplicUnwnt.Win32.Hoax.ArchSM...
by Rickard Johansson
08 Jul 2014 18:37
Forum: News
Topic: 64 bit version and Delphi XE6...
Replies: 2
Views: 13954

64 bit version and Delphi XE6...

I've upgraded my Delphi 2007 version to Delphi XE6. This means we get a 32-bit and 64-bit compiler, a huge number of new components, native Unicode support... Converting the entire project will take some time, but it does give me an opportunity to clean up some things... It may take a month or two t...
by Rickard Johansson
11 Jun 2014 09:36
Forum: Syntax files
Topic: Quote characters in HTML text blocks
Replies: 2
Views: 13292

Re: Quote characters in HTML text blocks

Are you creating your own highlighter? If so, could you post it?

If you're not creating your own highlighter, is it a plain HTML file? I can't reproduce your issue using the few lines you've posted.