Page 1 of 1

Editing non-PB files

Posted: Thu Oct 19, 2006 3:19 pm
by naw
Hi,
I often use INI files to set parameters for my PB Apps, because I'm lazy, I tend to use the PB Editor to edit those INI files rather than Notepad (its also nice to keep all my Projects Editing *screens* together).
The request is this - when editing a non-PB file, could the Editor NOT AutoFormat the text and NOT append the PB IDE stuff at the end...
Perhaps this cold be an option somewhere or (better still) a check for the File Extension...

Code: Select all

[cmd3]
 msg = Run Actual DSCLI LSPPRC Command
 dir = c:\Program Files\ibm\dscli
 cmd = dscli
 par = lspprc 0000-ffff -cfg HS001STOR02-00.profile -user admin -passwd XXXXXX

; IDE Options = PureBasic v4.00 (Windows - x86)
; CursorPosition = 11
; Folding = -

Posted: Thu Oct 19, 2006 3:44 pm
by Trond
I second this. I (mis)use the PB editor to view plain text files that have only LF instead of CRLF.

Re: Editing non-PB files

Posted: Thu Oct 19, 2006 4:30 pm
by thamarok
naw wrote:Hi,
I often use INI files to set parameters for my PB Apps, because I'm lazy, I tend to use the PB Editor to edit those INI files rather than Notepad (its also nice to keep all my Projects Editing *screens* together).
The request is this - when editing a non-PB file, could the Editor NOT AutoFormat the text and NOT append the PB IDE stuff at the end...
Perhaps this cold be an option somewhere or (better still) a check for the File Extension...

Code: Select all

[cmd3]
 msg = Run Actual DSCLI LSPPRC Command
 dir = c:\Program Files\ibm\dscli
 cmd = dscli
 par = lspprc 0000-ffff -cfg HS001STOR02-00.profile -user admin -passwd XXXXXX

; IDE Options = PureBasic v4.00 (Windows - x86)
; CursorPosition = 11
; Folding = -
I thought the PureBasic IDE was especially made for editing PB sources... why make it an international text editor :? ?

Posted: Thu Oct 19, 2006 4:30 pm
by gnozal
For general purpose I use PsPad, a freeware UltraEdit like text editor (and hex editor as well) : http://www.pspad.com/en/

Image

Posted: Thu Oct 19, 2006 4:35 pm
by Trond
Owner-drawn tabs? Image

Posted: Thu Oct 19, 2006 5:10 pm
by rsts
I'm with thamarok, let's keep PB for PB or we'll have it doing HTML, PHP,c++ and whatnot.

Doesn't bother me at all to use ultraedit for everything else (and even occasionally, a little PB too :)

cheers

Posted: Thu Oct 19, 2006 6:47 pm
by freak
Having a text-only edit mode makes sense to me, and should not be hard to do.
I will look into it.

I won't turn it into a multi language project, don't worry. It is and remains a dedicated PB editor.

Posted: Fri Oct 20, 2006 12:43 am
by naw
cool - thanks freak. I agree lets keep PB for PB - HTML editing is best done by something else. But a PB *Project* may consist of several PB source files and several INI files. Its just *nice* to keep them together.

Posted: Mon Nov 26, 2007 6:25 pm
by Trond
Doesn't scintilla come with a lot of syntax highlighters that can just be plugged in?

Posted: Mon Nov 26, 2007 8:49 pm
by PB
> Having a text-only edit mode makes sense to me

Doesn't it already do that if they turn off syntax highlighting and set the IDE
to not save any prefs to the end of the file?