how can I delete underline tab in here?

hello

how can I delete the underline tab in http://ompldr.org/vY2FkNw?
it's in StyledTextCtrl.

Wonjun, Choi

Try calling SetViewWhiteSpace(wx.stc.STC_WS_INVISIBLE)

···

On 1/15/12 11:22 PM, Wonjun, Choi wrote:

hello

how can I delete the underline tab in http://ompldr.org/vY2FkNw?
it's in StyledTextCtrl.

--
Robin Dunn
Software Craftsman

it’s not work even though I use stc.SetViewWhiteSpace(wx.stc.STC_WS_INVISIBLE)

Then it is not the visible whitespace option (I didn't think it was but worth checking) but instead is probably something to do with the styles you are setting for those locations.

···

On 1/16/12 3:51 PM, 최원준 wrote:

it's not work even though I use
stc.SetViewWhiteSpace(wx.stc.STC_WS_INVISIBLE)

--
Robin Dunn
Software Craftsman

        stcvar.SetProperty("fold", "1")
        stcvar.SetMargins(0, 0)
        stcvar.SetViewWhiteSpace(False)
        stcvar.SetEdgeMode(stvar.STC_EDGE_BACKGROUND)
        stcvar.SetEdgeColumn(78)

        stcvar.SetCaretForeground("blue")
 
        # setup a margin to hold the fold markers
        stcvar.SetMarginType(2, stvar.STC_MARGIN_SYMBOL)
        stcvar.SetMarginMask(2, stvar.STC_MASK_FOLDERS)

        stcvar.SetMarginSensitive(2, True)
        stcvar.SetMarginWidth(2, 12)
       
        stcvar.SetMarginType(1, stvar.STC_MARGIN_NUMBER)
        stcvar.SetMarginWidth(1, 30)
 

        # fold markers use square headers
        stcvar.MarkerDefine(stvar.STC_MARKNUM_FOLDEROPEN,
            st.STC_MARK_BOXMINUS, "white", "#808080")
        stcvar.MarkerDefine(stvar.STC_MARKNUM_FOLDER,

            st.STC_MARK_BOXPLUS, "white", "#808080")
        stcvar.MarkerDefine(stvar.STC_MARKNUM_FOLDERSUB,
            st.STC_MARK_VLINE, "white", "#808080")

        stcvar.MarkerDefine(stvar.STC_MARKNUM_FOLDERTAIL,
            st.STC_MARK_LCORNER, "white", "#808080")
        stcvar.MarkerDefine(stvar.STC_MARKNUM_FOLDEREND,
            st.STC_MARK_BOXPLUSCONNECTED, "white", "#808080")

        stcvar.MarkerDefine(stvar.STC_MARKNUM_FOLDEROPENMID,
            st.STC_MARK_BOXMINUSCONNECTED, "white", "#808080")
        stcvar.MarkerDefine(stvar.STC_MARKNUM_FOLDERMIDTAIL,

            st.STC_MARK_TCORNER, "white", "#808080")
 

        stcvar.SetViewWhiteSpace(wx.stc.STC_WS_INVISIBLE)

        stcvar.StyleSetSpec(stvar.STC_STYLE_DEFAULT,

            "face:%(helv)s,size:%(size)d" % faces)

        stcvar.StyleClearAll()
       
        stcvar.StyleSetSpec(stvar.STC_STYLE_LINENUMBER, "back:#C0C0C0,face:%(helv)s,size:%(size2)d" % faces)

        stcvar.StyleSetSpec(stvar.STC_STYLE_CONTROLCHAR, "face:%(other)s" % faces)
        stcvar.StyleSetSpec(stvar.STC_STYLE_BRACELIGHT, "fore:#FFFFFF,back:#0000FF,bold")
        stcvar.StyleSetSpec(stvar.STC_STYLE_BRACEBAD, "fore:#000000,back:#FF0000,bold")

        stcvar.StyleSetSpec(stvar.STC_STYLE_INDENTGUIDE, "fore:#CDCDCD")

            stcvar.StyleSetSpec(stvar.STC_F_COMMENT , "fore:#E32BC1,size:%(size)d" % faces)
            stcvar.StyleSetSpec(stvar.STC_F_CONTINUATION , "fore:#D94954,face:%(helv)s,size:%(size)d" % faces)

            stcvar.StyleSetSpec(stvar.STC_F_DEFAULT , "fore:#CCBA4F,bold,underline,size:%(size)d" % faces)
            stcvar.StyleSetSpec(stvar.STC_F_IDENTIFIER , "fore:#63B95D,face:%(other)s,size:%(size)d" % faces)

            stcvar.StyleSetSpec(stvar.STC_F_LABEL , "fore:#529FB9,face:%(helv)s,size:%(size)d" % faces)
            stcvar.StyleSetSpec(stvar.STC_F_NUMBER , "fore:#FF1EF4,bold,size:%(size)d" % faces)

            stcvar.StyleSetSpec(stvar.STC_F_OPERATOR , "fore:#1E90FF,face:%(helv)s,size:%(size)d" % faces)
            stcvar.StyleSetSpec(stvar.STC_F_OPERATOR2 , "fore:#7F7F7F,size:%(size)d" % faces)

            stcvar.StyleSetSpec(stvar.STC_F_PREPROCESSOR , "bold,size:%(size)d" % faces)
            stcvar.StyleSetSpec(stvar.STC_F_STRING1 , "fore:#FFA500,face:%(helv)s,size:%(size)d" % faces)

            stcvar.StyleSetSpec(stvar.STC_F_STRING2 , "fore:#FFFF00,face:%(mono)s,back:#E0C0E0,eol,size:%(size)d" % faces)
            stcvar.StyleSetSpec(stvar.STC_F_STRINGEOL , "fore:#00FF00,size:%(size)d" % faces)

            stcvar.StyleSetSpec(stvar.STC_F_WORD , "fore:#FF0000,bold,size:%(size)d" % faces)
            stcvar.StyleSetSpec(stvar.STC_F_WORD2 , "fore:#A52A2A,bold,size:%(size)d" % faces)

            stcvar.StyleSetSpec(stvar.STC_F_WORD3 , "fore:#FFC0CB,bold,size:%(size)d" % faces)

I found the reason. it was from StyleSetSpec(wx.stc.STC_F_DEFAULT)
Thank you.

Wonjun, Choi