You are here: PSPad forum > Developer forum - new builds > PSPad UNICODE 4.5.0 (2140) beta English

PSPad UNICODE 4.5.0 (2140) beta English

Goto Page: Previous1 2 3 4 5 6 7 Next

#31 Re: PSPad UNICODE 4.5.0 (2140) beta English

Posted by: pspad | Date: 2005-11-06 06:41 | IP: IP Logged

Replika wrote:

> Maybe Syntax Highlight not work with long file?

For long files highlighting isn't automatically set on.
Program settings / Direct Edit
change value (in bytes) of variable HLUpToSize=250000

Options: Reply | Quote | Up ^


#32 Re: PSPad UNICODE 4.5.0 (2140) beta English

Posted by: SlimShady | Date: 2005-11-06 13:53 | IP: IP Logged

[s]Could you please remove the limit of "3 external applications max".
Apps > 3 don't need to have shortcut keys, if you don't feel like it.
I'm begging you, because there's no equal alternative to PSPad :([/s]
sorry, I didn't try harder.

Post Edited (11-06-2005 14:55)

Options: Reply | Quote | Up ^


#33 Re: PSPad UNICODE 4.5.0 (2140) beta English

Posted by: pspad | Date: 2005-11-06 14:44 | IP: IP Logged

PSPad supports 5 external application and compiler for aeach highlighter.
You can set specific setting (5+1) for a project
In the favourite tab you can set unlimited number of exteral tools

Options: Reply | Quote | Up ^


#34 Re: JAVA Highlight

Posted by: Franco | Date: 2005-11-09 07:13 | IP: IP Logged

Here is the example:

// Fig. 3.13: AdditionApplet.java
// Una prima applet Java

// Java packages
import java.awt.Graphics; // importa classe Graphics
import javax.swing.*; // importa package

public class AdditionalApplet extends JApplet {
double sum;

public void init() {
String firstNumber;
String secondNumber;
double number1;
double number2;

firstNumber = JOptionPane.showInputDialog( "Inserisci il primo numero:");
secondNumber = JOptionPane.showInputDialog( "Inserisci il secondo numero:");

number1 = Double.parseDouble( firstNumber);
number2 = Double.parseDouble( secondNumber);
sum = number1 + number2;

}
// disegna il testo sullo sfondo dell'applet
public void paint( Graphics g) {
// chiama la versione del metodo paint della classe superiore
super.paint( g);

g.drawRect( 15, 10, 270, 20);

// disegna una String alle coordinate x=25 e y=25
g.drawString( "Il totale è: " + sum, 25, 25);
g.drawLine( 15, 10, 210, 10);
g.drawLine( 15, 30, 210, 30);

} // end paint
} // end WelcomeApplet

in this case the code explorer show this tree:

-Import
- java.awt.Graphics
- javax.swing.*
-AdditionalApplet extend JApplet
- init()
- paint(Graphics g)

As you can see all the attribute (variable) definition are not displaied (also if are prmitive type as double)

if you change the definition in this way:


public class AdditionalApplet extends JApplet {
public double sum;

public void init() {
private String firstNumber;
private String secondNumber;
private double number1;
private double number2;

The tree is updated with the missed definition but with wrong tree path:
-Import
- java.awt.Graphics
- javax.swing.*
-AdditionalApplet extend JApplet
- sum
- init()
- firstNumber
- secondNumber
- number1
- number2
- paint(Graphics g)

what i think is correct to display is:
Import
- java.awt.Graphics
- javax.swing.*
-AdditionalApplet extend JApplet
- sum
- init()
- firstNumber
- secondNumber
- number1
- number2
- paint(Graphics g)

i mean that as the sum, init and paint are child of AdditionalApplet, firstNumber, secondNumber, number1 and number2 should be child of init() [the variable visibility is limited inside init() method.

Options: Reply | Quote | Up ^


#35 Re: JAVA Highlight

Posted by: Franco | Date: 2005-11-09 08:44 | IP: IP Logged

SORRY I hope that in this way the indentation is more clear
Here is the example:

// Fig. 3.13: AdditionApplet.java
// Una prima applet Java

// Java packages
import java.awt.Graphics; // importa classe Graphics
import javax.swing.*; // importa package

public class AdditionalApplet extends JApplet {
double sum;

public void init() {
String firstNumber;
String secondNumber;
double number1;
double number2;

firstNumber = JOptionPane.showInputDialog( "Inserisci il
primo numero:");
secondNumber = JOptionPane.showInputDialog( "Inserisci il
secondo numero:");

number1 = Double.parseDouble( firstNumber);
number2 = Double.parseDouble( secondNumber);
sum = number1 + number2;

}
// disegna il testo sullo sfondo dell'applet
public void paint( Graphics g) {
// chiama la versione del metodo paint della classe superiore
super.paint( g);

g.drawRect( 15, 10, 270, 20);

// disegna una String alle coordinate x=25 e y=25
g.drawString( "Il totale è: " + sum, 25, 25);
g.drawLine( 15, 10, 210, 10);
g.drawLine( 15, 30, 210, 30);

} // end paint
} // end WelcomeApplet

in this case the code explorer show this tree:

-Import
!-- java.awt.Graphics
!-- javax.swing.*
-AdditionalApplet extend JApplet
!-- init()
!-- paint(Graphics g)

As you can see all the attribute (variable) definition are not
displaied (also if are prmitive type as double)

if you change the definition in this way:


public class AdditionalApplet extends JApplet {
public double sum;

public void init() {
private String firstNumber;
private String secondNumber;
private double number1;
private double number2;

The tree is updated with the missed definition but with wrong
tree path:
-Import
!-- java.awt.Graphics
!-- javax.swing.*
-AdditionalApplet extend JApplet
!- sum
!- init()
!- firstNumber
!- secondNumber
!- number1
!- number2
!- paint(Graphics g)

what i think is correct to display is:
-Import
!-- java.awt.Graphics
!-- javax.swing.*
-AdditionalApplet extend JApplet
!- sum
!- init()
! !-- firstNumber
! !-- secondNumber
! !-- number1
! !-- number2
!- paint(Graphics g)

i mean that as the sum, init and paint are child of
AdditionalApplet, firstNumber, secondNumber, number1 and
number2 should be child of init() [the variable visibility is
limited inside init() method.

Options: Reply | Quote | Up ^


#36 Re: JAVA Highlight

Posted by: pspad | Date: 2005-11-09 19:36 | IP: IP Logged

You must differentiate bewteen class properties and variables.

Options: Reply | Quote | Up ^


#37 Print Preview

Posted by: Naughty Muppet | Date: 2005-11-11 11:51 | IP: IP Logged

When i select the print preview function in this version the program crashes for me.

Options: Reply | Quote | Up ^


#38 Re: Print Preview

Posted by: Lolo | Date: 2005-11-11 18:14 | IP: IP Logged

For me too sad smiley

Options: Reply | Quote | Up ^


#39 Re: Print Preview

Posted by: Joe Belmaati | Date: 2005-11-11 18:56 | IP: IP Logged

I can confirm that as well.

--
Sincerely,
Joe Belmaati
Copenhagen Denmark

Options: Reply | Quote | Up ^


#40 Re: PSPad UNICODE 4.5.0 (2140) beta English

Posted by: rio | Date: 2005-11-13 00:51 | IP: IP Logged

search & replace from a bunch of opened files is improved obviously! superb!

but, the prompting for # of changes should go on top which would hang up pspad if the dialog goes behind.

thx.

Post Edited (11-15-2005 18:29)

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 4 5 6 7 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