Editing non-PB files

Working on new editor enhancements?
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

Editing non-PB files

Post 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 = -
Ta - N
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I second this. I (mis)use the PB editor to view plain text files that have only LF instead of CRLF.
thamarok
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 06, 2006 1:37 pm

Re: Editing non-PB files

Post 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 :? ?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Owner-drawn tabs? Image
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post 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
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post 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.
quidquid Latine dictum sit altum videtur
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

Post 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.
Ta - N
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Doesn't scintilla come with a lot of syntax highlighters that can just be plugged in?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post 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?
Post Reply