Search found 2351 matches

by Thomas Linder Puls
15 Dec 2018 21:21
Forum: Visual Prolog
Topic: Problem with readline and file UTF16BE
Replies: 1
Views: 23

Re: Problem with readline and file UTF16BE

PFC does not have any support for Big Endian Unicode.

Apparently, relevant Windows functions doesn't have support for it either.
by Thomas Linder Puls
9 Dec 2018 20:29
Forum: Visual Prolog
Topic: anti virus programs
Replies: 3
Views: 56

Re: anti virus programs

We have from time to time also experienced problems with antivirus programs. Clearly, the detections are false positives, coming from some heuristic "guessing" rather than a real detection of some malicious behavior. Unfortunately, it is very hard to do anything about it. There exists numerous of an...
by Thomas Linder Puls
7 Dec 2018 21:22
Forum: Visual Prolog
Topic: Wheel Scrolling in Grid Example
Replies: 3
Views: 72

Re: Wheel Scrolling in Grid Example

I don't have any really good information about this, but I have a warning. Don't make any changes in generatedInitialize it is generated (as the name and the surrounding comments implies). Whatever you like to do in generatedInitialize do it in the constructor after the call to generatedInitialize i...
by Thomas Linder Puls
3 Dec 2018 9:27
Forum: Visual Prolog
Topic: Object Disposal
Replies: 9
Views: 152

Re: Object Disposal

The code you have presented here will work. There is no problem in referencing the id or anything else for that matter in the finalizer. Also types like integer are not by themselves subject of "life and death", such values are copied around and stored where needed. The memory they are stored in may...
by Thomas Linder Puls
2 Dec 2018 20:52
Forum: Visual Prolog
Topic: Object Disposal
Replies: 9
Views: 152

Re: Object Disposal

Your ID is completely irrelevant, the ID is just a number. The important thing is your object(s) and the references to it/them. This is the essesce of the problem: class myObj : object end class myObj %--- implement myObj open core facts ref : optional{object}. clauses new() :- ref := some(This). cl...
by Thomas Linder Puls
28 Nov 2018 20:46
Forum: Visual Prolog
Topic: Object Disposal
Replies: 9
Views: 152

Re: Object Disposal

A piece of memory is reachable, if it can be reached from a call stack, or from a class fact. So if you insert a semi dead piece of memory in a data structure which is reachable from a class fact, then it will be brought back to live. You can solve you problem by creating a separate object that has ...
by Thomas Linder Puls
27 Nov 2018 10:16
Forum: Visual Prolog
Topic: Object Disposal
Replies: 9
Views: 152

Re: Object Disposal

Hi, Martin. I can reproduce the problem. Actually, it has already been solved in internal versions. You should notice that the reason the objects are not garbage collected is strongly related to the finalize predicate. If you remove that predicate the objects will indeed be garbage collected (but un...
by Thomas Linder Puls
18 Nov 2018 19:03
Forum: Visual Prolog
Topic: Find in Files, a little quirk
Replies: 7
Views: 803

Re: Find in Files, a little quirk

You may check the project file with a text editor, and investigate whether the file is mentioned twice (maybe with different casing, or using some kind of different path).
by Thomas Linder Puls
16 Nov 2018 10:25
Forum: Visual Prolog
Topic: Find in Files, a little quirk
Replies: 7
Views: 803

Re: Find in Files, a little quirk

Thank you, for the details. Unfortunately, it still didn't reproduce the problem here.
by Thomas Linder Puls
14 Nov 2018 10:51
Forum: Visual Prolog
Topic: Find in Files, a little quirk
Replies: 7
Views: 803

Re: Find in Files, a little quirk

We have not been able to reproduce this problem. I assume this is in the latest Vip 8?
by Thomas Linder Puls
16 Oct 2018 10:27
Forum: Visual Prolog
Topic: Notepad++ Visual Prolog Language Support
Replies: 16
Views: 2616

Re: Notepad++ Visual Prolog Language Support

The lexer does not have a style for class identifiers.

The keywords lists defines words that becomes "yellow" and "blue" (in the original styles). If you list all class names in one of these then classes will become "yellow" or "blue".
by Thomas Linder Puls
12 Oct 2018 8:33
Forum: Visual Prolog
Topic: Notepad++ Visual Prolog Language Support
Replies: 16
Views: 2616

Re: Notepad++ Visual Prolog Language Support

I believe it is in C:\Users\<user>\AppData\Roaming\Notepad++\stylers.xml
by Thomas Linder Puls
10 Oct 2018 8:04
Forum: Visual Prolog
Topic: Notepad++ Visual Prolog Language Support
Replies: 16
Views: 2616

Re: Notepad++ Visual Prolog Language Support

OK ( Settings -> Style Configurator… -> Select theme ). The themes you select among are each described in an xml file. My guess it that many of these xml files lack entries for Visual Prolog (and probably also for a lot of other languages). So to get Visual Prolog support io another theme you must s...
by Thomas Linder Puls
9 Oct 2018 19:41
Forum: Visual Prolog
Topic: Predicate arrayM::add/1->
Replies: 1
Views: 531

Re: Predicate arrayM::add/1->

That is a bug, thank you. We will correct it in future releases.
by Thomas Linder Puls
9 Oct 2018 14:20
Forum: Visual Prolog
Topic: Notepad++ Visual Prolog Language Support
Replies: 16
Views: 2616

Re: Notepad++ Visual Prolog Language Support

How did you change the color-theme?