Wednesday, September 8, 2010

wumpus-core

Copperbox revision 1690.

I've changed the textBounds function to work properly with escaped / encoded text.

Previous this function took a length parameter, which would typically be deduced simply be calling length on the input string. However length would count the characters used to express any escaped special chars. Now the API passes in the string, not its length, so the Wumpus can count the escapes properly.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.