CudaText: set/get PROP_LEXER_FILE bug

this code in console gives different result when called second time. bug?

for s in ['C','C++']: ed.set_prop(PROP_LEXER_FILE, s) ; print(ed.get_prop(PROP_LEXER_FILE, ''))

>>> for s in ['C','C++']: ed.set_prop(PROP_LEXER_FILE, s) ; print(ed.get_prop(PROP_LEXER_FILE, ''))
C
C++
>>> for s in ['C','C++']: ed.set_prop(PROP_LEXER_FILE, s) ; print(ed.get_prop(PROP_LEXER_FILE, ''))
C
C

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

applied.