Hi Shon,
        happy to help, (I've emailed you the module directly) but I don't
think you'll see any performance improvement. I've had to resort to
copying blocks of lines I'm modifying in Poser documents into a new
BBEdit text document window in order to avoid the idiotic delays
incurred when editing such large documents (>100MB) with syntax
colouring enabled. Unfortunately, even turning off syntax colouring
doesn't seem to help. I guess if a language module is present, it gets
interpreted even if the syntax colouring is applied. The only way I
can imagine around this is to find a way to actually compile the Poser
language module and I haven't got that deeply into the BBEdit coding
side.

I think the actual problem is just that the huge size of typical Poser
documents is not within the design paradigm of most source code
editing tools. I.e. Cut your source code into smaller functional
modules for ease of editing/revision control and let the build process
incorporate them all at compile time.

To this end, I've actually taken a leaf out of DAZ's V4/M4 add-on
management strategy which uses readScript lines to include optional
add-on components when a .cr2 file is opened. If you have them, have a
look at the Runtime:Libraries:Character:DAZ People:Stephanie 4.cr2/The
Girl 4.cr2/Victoria 4.1.cr2 files. You can trace the heirarchy of
readScripts back to many much smaller files in Libraries:!DAZ. I've
built clothed figures incorporating many individual figures which only
take up miniscule space (1 or 2kB) in the libraries as they only
contain headers and readscript lines while each individual figure or
pose or material setting exists only once in the library, much like
the compressed binaries and external morph target features intended.
Of course managing dozens of files is a headache, and every time you
save something back to the Poser library you end up with a multi-
hundred MB file again.

I'm hoping that BBEdit 10's Project support may help me with file
management here.

On Jul 31, 10:18 pm, Shon Vaughan <[email protected]> wrote:
> Geoff Hicks <[email protected]> Jul 30 03:08AM -0700 ^
>
> > I work primarily with BBEdit on Poser format .pz3 text files with a  
> > custom codeless language module for syntax colouring I've cobbled  
> > together myself.
>
> I've been using BBEdit for years to edit my Poser files. My own  
> codeless language module is poorly made as I don't understand how to  
> put a good one together. My biggest complaint with it is that it slows  
> BBEdit down a lot.
>
> Would it be too much to ask if I could get a copy of your module? I  
> don't need it to be sophisticated, just not making BBEdit crawl while  
> making strings stand out would be super.
>
> Thank you.
>
> P.S. I'm stuck in 9 due to my Mac being PPC so if there is a  
> difference in modules, the 9 version would be best. Thanks again.
>
> Shon Vaughan
> [email protected]
>
> =====
>
> An appeaser is one who feeds a crocodile, hoping it will eat him last.
> —Sir Winston Churchill

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to