← Back to team overview

desktop-packages team mailing list archive

[Bug 1393258] [NEW] Python multiline comment code color does not update immediately.

 

Public bug reported:

It's a small stupid bug but a little annoying I guess.

If you setup a multine comment, and then close it, all other text after
it does not update until you save instead of immediately. I thought I
messed up my syntax at first but I didn't.

Say you have this code:

1 #!/usr/bin/python3
2 # A simple program doing derp.
3 # November 16th, 2014
4 # By Swashy
5
6 def main():
7     bla bla bla bla...

If you add a multiline comment """ or ''' inserted above line 1, then
close it at line 5, all other code, like main, will remain multiline
code colour.

Cheers

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1393258

Title:
  Python multiline comment code color does not update immediately.

Status in “gedit” package in Ubuntu:
  New

Bug description:
  It's a small stupid bug but a little annoying I guess.

  If you setup a multine comment, and then close it, all other text
  after it does not update until you save instead of immediately. I
  thought I messed up my syntax at first but I didn't.

  Say you have this code:

  1 #!/usr/bin/python3
  2 # A simple program doing derp.
  3 # November 16th, 2014
  4 # By Swashy
  5
  6 def main():
  7     bla bla bla bla...

  If you add a multiline comment """ or ''' inserted above line 1, then
  close it at line 5, all other code, like main, will remain multiline
  code colour.

  Cheers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1393258/+subscriptions


Follow ups

References