You are here: PSPad forum > Developer forum - new builds > PSPad unicode 4.5.3 (2271) English

PSPad unicode 4.5.3 (2271) English

Goto Page: Previous1 2 3 4 Next

#11 Re: PSPad unicode 4.5.3 (2271) English

Posted by: holger | Date: 2007-08-09 08:08 | IP: IP Logged

pspad:
Quickest way is write me what you want winking smiley

Surely I understand that, but the Progress help is fantastic you search for something, find it, and get exclusive informations about the syntax and the behavior.
If somebody post his needs, there's always the problem that something is forgodden, and next time your have to modify again. Progress is a very variable language, thats the problem...

Holger

Options: Reply | Quote | Up ^


#12 Re: PSPad unicode 4.5.3 (2271) English

Posted by: holger | Date: 2007-08-09 08:25 | IP: IP Logged

pspad:
I can add anything if you give me detail description.
But I suggest you to add only necessary things, because each new things slow up parsing.

Sounds good.
I have seen editors where the user is able to choose what he want to see in Code-Explorer, or not (Dependents on choosed Code-Parser). Would it be possible for PSPad?

I will begin a Discuss about structure of Code-Explorer for Progress (takes a bit time to search all informations)

Holger

Options: Reply | Quote | Up ^


#13 Re: PSPad unicode 4.5.3 (2271) English

Posted by: Joël | Date: 2007-08-09 09:09 | IP: IP Logged

Hi Jan,
In case you still have doubts about latex formula, have a look there:
www.math.uiuc.edu
You will find confirmation that ($ ... $) has no special meaning in latex, it just means that a formula defined by $ ... $ is enclosed inside parenthesis (and the parenthesis should not be highlighted !).

Actually, what was done in version 4.5.2.2223 was perfect : a color was assigned to the $ sign (the color used for "math mode"), without highlighting what was inside specifically. It was thus easy to identify a formula and at the same time, brackets and tex commands inside the $$ were highlighted as usual (colors used for round and square bracket and tex commands) which was quite nice !
So if possible, it would be very nice to return back to this behaviour !
Joël

Options: Reply | Quote | Up ^


#14 Re: PSPad unicode 4.5.3 (2271) English

Posted by: Joël | Date: 2007-08-09 09:11 | IP: IP Logged

oups ! the path to the web page has been truncated :
/~hildebr/tex/course/intro2.html
Joël

Options: Reply | Quote | Up ^


#15 Re: PSPad unicode 4.5.3 (2271) English

Posted by: ujr | Date: 2007-08-09 10:46 | IP: IP Logged

Hi Jan,
don't know if you have actually read my bug report - the bugs, at least, are still present. So I will repeat it here for convenience.

Code Explorer handles the following class inheritance wrongly: Without inheritance (i.e. without "public A"), Code Explorer shows classes A and B. In the following form, however, it shows class A twice.

class A {
}

class B : public A {
}

Furthermore, Code Explorer does not remember its size during PsPad sessions. This may come quite annoying, if you use files with deep hierarchy.
Thanks

Options: Reply | Quote | Up ^


#16 Re: PSPad unicode 4.5.3 (2271) English

Posted by: komfa | Date: 2007-08-09 13:04 | IP: IP Logged

Hello Users,Hello Jan

Jan has done a got job by implementing Progress-CodeExp. I've yesterday emailed Jan outside this forum my needs for progress-explorer. It takes one day and he does all, what I need. I want a 5 Node Explorer and I got one. It was my mistake, that's multiline Includes are not supportet, because i have not told him exactly the whole syntax of includes-files. Surely Jan can code code-exploring for variables browser,qeury etc., but how many browsers or qeury definition do you have in one programm-file?

Greetings and Many Thanks

Christian
Bad Kösen

Options: Reply | Quote | Up ^


#17 Re: PSPad unicode 4.5.3 (2271) English

Posted by: pspad | Date: 2007-08-09 14:40 | IP: IP Logged

Joël:
Hi Jan,
In case you still have doubts about latex formula, have a look there:
www.math.uiuc.edu
You will find confirmation that ($ ... $) has no special meaning in latex, it just means that a formula defined by $ ... $ is enclosed inside parenthesis (and the parenthesis should not be highlighted !).

Math mode will be marked by ($ ... $) and parenthensis will not be highlighted as formula.
Is it correct?

There must be something, what make a differences between $ in text and $ what starts formula.
E.g. text:
May 212 $ 100 $
if formula starts with single $ only, PSPad will mark text inside $ as formula

Options: Reply | Quote | Up ^


#18 Re: PSPad unicode 4.5.3 (2271) English

Posted by: holger | Date: 2007-08-09 15:14 | IP: IP Logged

komfa:
but how many browsers or qeury definition do you have in one programm-file?

Sorry for that much things. I only wanted to know if it is possible. Sometimes definitions are made when they're needed in middle of if Statements in procedures or functions.
Therefore to find that things it would be good.
Priority is surely for things needed often. I have less temp-tables than buffers, needed, to get extra informations without unlocking a current find, or to search another information in the same table within an For each Statement. To know if a definition is guilty it is surely better to display it in the Code-Explorer under the Function or Procedure in which it is defined. I have to admitt that I'm working with Code I haven't written myself. To find the made definitions can waste a lot of time because they are often defined in a calling procedure before. Therefore it also would be good to parse for run Statements displayed under the Procedure. Workfiles are less used but have almost the same function like a temp-table.

Exambles:
<buffer>
define buffer Buf_Place for Place.
define buffer Buf_TT for temp-table TT.

DEFINE [ [ NEW ] SHARED ]
[ PRIVATE | PROTECTED ] BUFFER buffer-name
FOR [ TEMP-TABLE ] table-name
[ PRESELECT ] [ LABEL label-name ]
[ NAMESPACE-URI namespace ] [ NAMESPACE-PREFIX prefix ]

<Workfile>
DEFINE [ [ NEW ] SHARED ] [ PRIVATE ]
{ WORK-TABLE | WORKFILE } work-table-name [ NO-UNDO ]
[ LIKE tablename [ VALIDATE ] ]
[ FIELD field-name { AS data-type | LIKE field }
[ field-options ] ] ...

<temp-tables>
DEFINE [ [ NEW [ GLOBAL ] ] SHARED ]
[ PRIVATE | PROTECTED ] TEMP-TABLE temp-table-name [ NO-UNDO ]
[ NAMESPACE-URI namespace ] [ NAMESPACE-PREFIX prefix ]
[ REFERENCE-ONLY ]
[ LIKE table-name
[ VALIDATE ]
[ USE-INDEX index-name [ AS PRIMARY ] ] ... ]
[ RCODE-INFORMATION ]
[ BEFORE-TABLE before-table-name ]
[ FIELD field-name
{ AS data-type | LIKE field [ VALIDATE ] }
[ field-options ]
] ...
[ INDEX index-name
[ IS [ UNIQUE ] [ PRIMARY ] [ WORD-INDEX ] ]
{ index-field [ ASCENDING | DESCENDING ] } ...
] ...

<run Statements>
run search.
or
run search(input param1,
input-output param2,
output param3).

RUN
{ intern-proc-name | VALUE ( intern-expression) }
[ IN proc-handle ]
[ ASYNCHRONOUS
[ SET async-request-handle ]
[ EVENT-PROCEDURE event-internal-procedure
[ IN procedure-context ] ]
]
[ ( parameter [ , parameter ] ... ) ]
[ NO-ERROR ]

By the way, Jan, there's one bug with the Syntax:
as shown in Syntaxdefinition for temp-tables there can be some keywords before the keyword temp-table.
Worst case:
define NEW GLOBAL SHARED PRIVATE temp-table Name .
define NEW GLOBAL SHARED PROTECTED temp-table Name .

In this case the Code-Explorer is not working correctly.

Thanks Holger

Edited 1 time(s). Last edit at 2007-08-09 15:17 by holger.

Options: Reply | Quote | Up ^


#19 Re: PSPad unicode 4.5.3 (2271) English

Posted by: holger | Date: 2007-08-09 15:36 | IP: IP Logged

One more bug:
a temp-table definition can begin outside the first columns.
winking smiley

Options: Reply | Quote | Up ^


#20 Re: PSPad unicode 4.5.3 (2271) English

Posted by: Joël | Date: 2007-08-09 15:38 | IP: IP Logged

pspad:
Joël:
Hi Jan,
In case you still have doubts about latex formula, have a look there:
www.math.uiuc.edu
You will find confirmation that ($ ... $) has no special meaning in latex, it just means that a formula defined by $ ... $ is enclosed inside parenthesis (and the parenthesis should not be highlighted !).

Math mode will be marked by ($ ... $) and parenthensis will not be highlighted as formula.
Is it correct?

There must be something, what make a differences between $ in text and $ what starts formula.
E.g. text:
May 212 $ 100 $
if formula starts with single $ only, PSPad will mark text inside $ as formula

Math mode will be marked by $ ... $ only (exactly in the same way as strings are defined by " ... " in C), without any parenthesis. Parenthesis have nothing to do with formula nor highlighting, they are just text used to put a formula inside parenthesis just like you would do in any word processor.
In LaTeX, $ alone is only used to define a formula, if you need to type the $ sign you have to use \$ like for example : May 212 \$ 100 \$.
So $ always open a formula excepted if there is a \ just before $.
I hope this is clear !!
I am Sorry, my english is quite poor and it is probably sometimes difficult to understand exactly what I want to say !!!
Joël

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 4 Next





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR