From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f43e6,ea99940253996e3e X-Google-Attributes: gidf43e6,public X-Google-Thread: 109fba,ea99940253996e3e X-Google-Attributes: gid109fba,public X-Google-Thread: 108717,ea99940253996e3e X-Google-Attributes: gid108717,public X-Google-Thread: 103376,ea99940253996e3e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-05 08:12:49 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 05 Oct 2003 10:13:03 -0500 From: "William" Newsgroups: comp.software-eng,comp.programming,comp.lang.c++,comp.lang.ada References: <2cfd1a4e.0309252032.3e3c0a1a@posting.google.com> <863cefjy6l.fsf@strudel.futureapps.de> <86ad8i7d1d.fsf_-_@huldreheim.huldreskog.no> <8665j66u8z.fsf@huldreheim.huldreskog.no> <3f7df3af_2@nntp2.nac.net> <86vfr55o45.fsf@huldreheim.huldreskog.no> Subject: Re: Spell-checking source code (Was: ISO Studies of underscores...) Date: Sun, 5 Oct 2003 10:16:35 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-Trace: sv3-6NIcsW5YMDdpyeidBKBoS4dV54JCz8KW031tZzEpIkOgS1Hd9YHfKVb02rwZTPUIW6NzZArvwWUTwaf!E8JAjrFd0oP2cmn7J1G3+ieFEEKt/ui0xE0kBez+3zq/xS0t47mUp9UOn+DJUSE= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.software-eng:70 comp.programming:402 comp.lang.c++:959 comp.lang.ada:265 Date: 2003-10-05T10:16:35-05:00 List-Id: "Leif Roar Moldskred" wrote in message news:86vfr55o45.fsf@huldreheim.huldreskog.no... > > In the same way that spell-checkers for ordinary text today handles names and > other words that are correct, but not in the dictionary: When detecting the > unknown word the first time, ask the user what to do with it - whether to > correct it, accept this instance, accept all instances in this document or > add it to your private dictionary. (For a spell-checking of source-code we'd > probably also want the option "accept all instances with this case.") Well, they will if you add the entire label to the dictionary, but none I'm aware of will break up words based on mixed-case. Ultraedit will break up words on underscores - didn't know that until I just tried it I can make it ignore mixed-case words, but not break them apart. (It does support multiple user dictionaries, so you could have a dictionary-per-project defining all the approved labels.) -Wm