You are not logged in.

#1 2008-09-06 20:31:25

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Help with passing parameters to Aspell from C [SOLVED ENOUGH]

I found this really cool utility called aspellstdout that will allow for rudimentary spell check in Scite:

http://www.distasis.com/cpp/scitetip.htm#spell

What I can't figure out (and the author didn't either) is how to pass parameters beyond language to Aspell. What I want to be able to do is pass mode switches. For instance, if I have a LaTeX document I want to be able to pass the -t switch (--mode=tex). I looked through aspell.h and couldn't see what I'm looking for.

--EDIT--

The output to xterm option is far easier and it makes quite a bit more sense now that I'm use to it. From my .SciTEUser.properties:

# Rudimentary LaTeX Spell Checker
command.name.2.$(file.patterns.tex)=Spell Check
command.2.$(file.patterns.tex)=xterm -e aspell -t -c $(FileNameExt)
command.subsystem.2.$(file.patterns.tex)=0

Last edited by skottish (2008-09-08 01:58:57)

Offline

Board footer

Powered by FluxBB