set the locked state flags during the initialization of a text% object (this bug found by random test case generation)
set the locked state flags during the initialization of a text% object (this bug found by random test case generation)

svn: r18475

mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket