Search found 560 matches
- 24 Apr 2015 09:33
- Forum: Scripts
- Topic: Current line index
- Replies: 9
- Views: 30974
Re: Current line index
First off, let me show you the answer in JavaScript, it's easier for me and shouldn't be hard for you to translate it to Pascal; just remember, JS surrounds strings with double quotes, while Pascal with single ones. Here's a quick solution: var y = Document.CursorY; Document.CursorDocEnd(false); var...
- 24 Apr 2015 08:25
- Forum: External or integrated tools
- Topic: PHP manual with user notes
- Replies: 11
- Views: 46664
Re: PHP manual with user notes
Either from the main menu Tools > [php_enhanced_en], or from the icon I've added to the Quickbar. -- I just checked up many UI configurations, hiding/changing different elements (panels etc.), but it still works for me.
- 24 Apr 2015 07:56
- Forum: External or integrated tools
- Topic: PHP manual with user notes
- Replies: 11
- Views: 46664
Re: PHP manual with user notes
I just added it as a tool
Perhaps the screenshot would be more informative:
Btw, did you unblock the CHM file?

- 24 Apr 2015 07:29
- Forum: Scripts
- Topic: Current line index
- Replies: 9
- Views: 30974
Re: Current line index
Code: Select all
var
y: Integer;
begin
y := Document.CursorY;
ShowMessage(y);
end.
- 24 Apr 2015 07:24
- Forum: External or integrated tools
- Topic: PHP manual with user notes
- Replies: 11
- Views: 46664
Re: PHP manual with user notes
I use it all the time. And yes, it doesn't work for me with no open documents; otherwise it works as expected.
(I guess "Bugs" or even "Questions" would be more appropriate a section for things like these. Just sayin'.)
(I guess "Bugs" or even "Questions" would be more appropriate a section for things like these. Just sayin'.)
- 14 Apr 2015 14:04
- Forum: Bug reports
- Topic: FIXED? Find/Replace in selection works unstably
- Replies: 5
- Views: 10876
Re: Find/Replace in selection works unstably
Thank you! I use Unix/Linux newlines almost exclusively, so I hope these errors are gone, too.
- 13 Apr 2015 18:22
- Forum: Bug reports
- Topic: FIXED? Find/Replace in selection works unstably
- Replies: 5
- Views: 10876
Re: Find/Replace in selection works unstably
I can't reproduce the issue regularly; sometimes it works, sometimes it doesn't. Perhaps you could try once more with these settings: open a file with at least 10 lines, select three last ones, ^R, search for just one char present on each line, range: selection, No output, no other settings, Count: ...
- 13 Apr 2015 06:51
- Forum: Bug reports
- Topic: FIXED? Find/Replace in selection works unstably
- Replies: 5
- Views: 10876
FIXED? Find/Replace in selection works unstably
I just noticed there is a serious glitch in Find and Replace, when operation range is set to selection; count usually doesn't work (shows 0 hits), and preview window shows random results (sometimes 0, sometimes some). Replacement is never done, and result dialog shows random number of (purportedly) ...
- 15 Feb 2015 15:15
- Forum: Syntax files
- Topic: jQuery
- Replies: 1
- Views: 18563
Re: jQuery
I'm not sure what you mean, given that you put your question in the "Syntax files files" branch. Anyway, if you Google "jQuery tutorial," you get a couple of good hits: https://learn.jquery.com/ http://www.codecademy.com/en/tracks/jquery http://jqfundamentals.com/ http://www.jque...
- 29 Jan 2015 17:35
- Forum: Scripts
- Topic: [script] Simple Backup System for RJ TE
- Replies: 4
- Views: 25122
[script] Simple Backup System for RJ TE
Thanks to Rickard's fantastic support for script development (and his terrific editor in general!), I am now able to present quite elaborated script for backing up your source files, hoping you will find it useful. Goal of Simple Backup System for RJ TextEdit (SBS) is to store, depending on your con...
- 26 Jan 2015 18:23
- Forum: Scripts
- Topic: How do I use SaveToFile in order to...?
- Replies: 4
- Views: 22501
Re: How do I use SaveToFile in order to...?
This is truly great! Thank you! So, I will finally be able to complete my handy (I hope so) script.
- 26 Jan 2015 14:25
- Forum: Scripts
- Topic: How do I use SaveToFile in order to...?
- Replies: 4
- Views: 22501
Re: How do I use SaveToFile in order to...?
Thanks a lot! Alas, your code for reading (and also writing) stream doesn't work for me: I get "Not enough actual parameters" error on this line: int len = Length(s); When I change int to var (since it's JavaScript, not Delphi), or simply comment out this line, I get "Incompatible typ...
- 26 Jan 2015 12:54
- Forum: Scripts
- Topic: How do I use SaveToFile in order to...?
- Replies: 4
- Views: 22501
How do I use SaveToFile in order to...?
1. SaveToFile adds newline at the end of the saved file -- is it intentional? How can I not write this newline? 2. I understood, perhaps erroneously, that it would be possible to save strings as ANSI, UTF-8 and even UTF-16; is it in fact possible now? How do I do this? Please take your time; I don't...
- 26 Jan 2015 12:08
- Forum: Scripts
- Topic: How do I read from a file?
- Replies: 2
- Views: 18944
Re: How do I read from a file?
Thanks a lot for your prompt reply! The JS method works alright :D
- 26 Jan 2015 08:52
- Forum: Scripts
- Topic: How do I read from a file?
- Replies: 2
- Views: 18944
How do I read from a file?
I want to read from (ANSI) file; how do I do it? I tried var text = WStrings.LoadFromFile("filename.txt"); but then ShowMessage(text); displays a number (always the same: 151894672) and not file content. Perhaps it's a bug? Then I tried opening the file with MainApp.OpenFile and then using...