Search found 518 matches

by pepak
Mon 26 Oct, 2020 11:09
Forum: General Plug-In Discussions
Topic: FRename3
Replies: 55
Views: 30765

FRename3

Unfortunately, "sticking to FAR's original behavior" is difficult if there is no published API for the manipulation of descriptions.
by pepak
Mon 26 Oct, 2020 06:45
Forum: General Plug-In Discussions
Topic: FRename3
Replies: 55
Views: 30765

FRename3

Thanks. That seems promising, although the last point may give me trouble (particularly the distinguish between ANSI and OEM) - it might be necessary to only support UTF8 or ANSI description files.
by pepak
Mon 26 Oct, 2020 06:41
Forum: General Plug-In Discussions
Topic: Filters
Replies: 92
Views: 43588

Filters

By my quick check, apllying on selection is working Ok for now, but it inserts BOMs, on every check i did. BOMs appear as a strange square symbolimage.png I will need specific reproducible steps for that. If I can reproduce the problem and if it is caused within the plugin, then I will of course fi...
by pepak
Mon 26 Oct, 2020 06:38
Forum: General Plug-In Discussions
Topic: Filters
Replies: 92
Views: 43588

Filters

if we work on editor selection, it can be only text data, or supposed to be text data, not binary. Wrong. Consider the BASE64 filter. I would say what those first two bytes of text have very easy detectable signature. Sure, and I already detect and remove those if the encoding is set to one of the ...
by pepak
Sun 25 Oct, 2020 11:44
Forum: General Plug-In Discussions
Topic: FRename3
Replies: 55
Views: 30765

FRename3

I was looking at the Descriptions support. It seems that despite my misgivings, it might be best to edit the description file directly. However, since I am not familiar with the descriptions functionality, I have a few questions: Is it possible to create multiline descriptions? Is it possible to cre...
by pepak
Sun 25 Oct, 2020 11:36
Forum: General Plug-In Discussions
Topic: Filters
Replies: 92
Views: 43588

Filters

I am not yet ready to release a new version, but you may want to give this preliminary one a try: The selection problem ( empty lines break the selection ) is fixed. I didn't encounter any unexpected behavior with the UTF8 handling - I am, of course, not removing BOMs from the middle of the text bec...
by pepak
Fri 23 Oct, 2020 12:44
Forum: General Plug-In Discussions
Topic: FRename3
Replies: 55
Views: 30765

FRename3

I wouldn't hold my breath if I were you, but I will look into it.
by pepak
Fri 23 Oct, 2020 07:42
Forum: General Plug-In Discussions
Topic: FRename3
Replies: 55
Views: 30765

FRename3

buniak_a_h wrote: Fri 23 Oct, 2020 06:04Far.GetConfig('Descriptions.ListNames')
Where did you find it? There is no reference to GetConfig in any of the API headers or the FarEncyclopedia. It might be available in the macro API, but that's useless for me as I am writing native plugins, not LUA ones.
by pepak
Fri 23 Oct, 2020 06:00
Forum: General Plug-In Discussions
Topic: FRename3
Replies: 55
Views: 30765

FRename3

That might actually be quite a problem. First of all, I don't think there is an API for reading FAR's options. I remember searching for it some time ago when writing the DirSync3 plugin, but I couldn't find it. So it might not be possible to "honor what is specified in Options -> File descripti...
by pepak
Thu 22 Oct, 2020 05:24
Forum: General Plug-In Discussions
Topic: FRename3
Replies: 55
Views: 30765

FRename3

I don't use file descriptions myself. What exactly do you mean by updating them?
by pepak
Sun 18 Oct, 2020 04:14
Forum: Plug-In Developers
Topic: Developing plug-ins in Free/Object Pascal: Delphi, Embarcadero, Lazarus, etc
Replies: 19
Views: 785

Developing plug-ins in Free/Object Pascal: Delphi, Embarcadero, Lazarus, etc

I there community free version of 10.4 ? Not yet, and it's not certain there ever will be. Embarcadero is very proud of 10.4 and wants to milk it for what it is worth first. either newer Delphi versions will be more up to the mark. Again, this is most likely some issue with your particular system t...
by pepak
Sat 17 Oct, 2020 17:43
Forum: Plug-In Developers
Topic: Developing plug-ins in Free/Object Pascal: Delphi, Embarcadero, Lazarus, etc
Replies: 19
Views: 785

Filters

Probably you can send the installation of your own? I am sorry, but I can't legally do that. pepak , propably you would sign in into the thematic far-dedicated telegram chanel here? I don't use any IM and I don't want to start. there is lot of useful communication, an probably it will be more conve...
by pepak
Sat 17 Oct, 2020 17:36
Forum: Обсуждение плагинов
Topic: Colorer — гибкая раскраска синтаксиса в редакторе и др.
Replies: 3314
Views: 1156215

Colorer — гибкая раскраска синтаксиса в редакторе и др.

Would it be possible to add config support for selectively disabling certain built-in syntaxes? I used to use my own modified catalog, but that always seemed like a hack more than anything and it finally stopped working in recent versions of FAR. A built-in support for enabling/disabling filters cou...
by pepak
Thu 15 Oct, 2020 05:28
Forum: General Plug-In Discussions
Topic: Filters
Replies: 92
Views: 43588

Filters

Noted. Will check it out for myself and if I can confirm the error, fix it.
by pepak
Wed 14 Oct, 2020 20:47
Forum: General Plug-In Discussions
Topic: Filters
Replies: 92
Views: 43588

Filters

The "TopLine" variable here deals with the positioning of the cursor, not with the actual replacement. The replacement was already been done in TFarEditor.DeleteSelection and TFarEditor.InsertText.

Go to advanced search