Search found 1046 matches
- 07 Apr 2015 12:15
- Forum: Bug reports
- Topic: SOLVED? Crash
- Replies: 5
- Views: 9148
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.
- 10 Mar 2015 21:26
- Forum: News
- Topic: Home page and forum moved to new web host
- Replies: 1
- Views: 14247
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...
- 10 Mar 2015 00:11
- Forum: News
- Topic: Home page and forum moved to new web host
- Replies: 1
- Views: 14247
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.
- 09 Mar 2015 15:03
- Forum: News
- Topic: DDOS attacks and slow forum
- Replies: 0
- Views: 11679
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...
I'm considering moving my home page and forum to a different web host...
- 26 Jan 2015 17:25
- Forum: Scripts
- Topic: How do I use SaveToFile in order to...?
- Replies: 4
- Views: 16701
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...
- 26 Jan 2015 13:14
- Forum: Scripts
- Topic: How do I use SaveToFile in order to...?
- Replies: 4
- Views: 16701
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 ...
- 26 Jan 2015 11:56
- Forum: Scripts
- Topic: How do I read from a file?
- Replies: 2
- Views: 13879
Re: How do I read from a file?
You could try:
or
I'll look into the stream issue.
Code: Select all
TStringList list = TStringList.Create;
try
list.LoadFromFile("C:\\Test.txt");
var text = list.Text;
...
finally
list.Free;
end;
Code: Select all
WStrings.LoadFromFile("filename.txt");
var text = WStrings.GetText;
- 23 Dec 2014 09:54
- Forum: News
- Topic: Merry Christmas 2015
- Replies: 1
- Views: 13387
Merry Christmas 2015
Merry Christmas everyone!
- 01 Nov 2014 11:46
- Forum: Scripts
- Topic: Simple script - works slightly differently with RJTE upgrade
- Replies: 3
- Views: 15686
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 ...
- 10 Jul 2014 17:58
- Forum: News
- Topic: 64 bit version and Delphi XE6...
- Replies: 2
- Views: 15073
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...
- 08 Jul 2014 18:37
- Forum: News
- Topic: 64 bit version and Delphi XE6...
- Replies: 2
- Views: 15073
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...
- 11 Jun 2014 09:36
- Forum: Syntax files
- Topic: Quote characters in HTML text blocks
- Replies: 2
- Views: 14422
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.
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.
- 16 Apr 2014 11:30
- Forum: Scripts
- Topic: Help with script
- Replies: 6
- Views: 19405
Re: Help with script
Try this // C++ script { string s; int i,n; int startx,startLine,endx,endLine; if (Document.SelLength > 0) { Document.GetSelection(startx,startLine,endx,endLine); } else { startLine = 0; endLine = Document.LineCount - 1; }; Document.BeginUpdate(); try { i = startLine; while (i <= endLine) { // Get l...
- 26 Mar 2014 11:10
- Forum: Scripts
- Topic: Numeric base translator
- Replies: 5
- Views: 18914
Re: Numeric base translator
I implemented a different solution. Instead of replacing all components I simply made some changes to the event handlers. E.g. void KeyPress(TObject sender, char key) => void KeyPress(TObject sender, int key) void KeyPress(TObject sender, int key) { int base = 10; string name = TEdit(sender).Name; i...
- 26 Mar 2014 09:49
- Forum: Scripts
- Topic: Numeric base translator
- Replies: 5
- Views: 18914
Re: Numeric base translator
Made some minor changes. It still doesn't work properly yet. The editor component (TEdit) use ANSI while the script engine use Unicode. I need to replace all the components for events like entDecimal.OnKeyPress = &KeyPress; to work. I had to comment out some events for the script to work below. ...