Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 indentations in python code inserts
#1
it seems that python code insert are unindenting all the code lines in a code insert. at least it's the same amount for all lines in the same block, but it varies per block:
this
    should
        be
            seen
                diagonal
                    with
                        each
                            line
                                indented
                                    four
                                        more
                                            than
                                                the
                                                    previous
and the 3rd line with "be" after 8 spaces just went all blank. sometime i might want to have separate blocks line up relative to each other. or maybe a block of python code needs to have indentation on all lines so it can be inserted in other code.

and i notice that a run of spaces inside quotes in text just disappears.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Quote
#2
What do you mean by "code insert"? Are you pasting text in your editor? In that case: use another editor.
Quote
#3
There are known board issues here
https://python-forum.io/misc.php?action=help&hid=39

It also appears the first line is truncated to the left regardless
    this
   Should
      Be
         Indented
Quote
#4
the first line had no indentation. you can see it by clicking on the "Quote" button for post #1 and look at the quoted text. this issue is not in that list of issues.

we need a decent board program that is written in Python3 so so we can easily hack applied goofs in it.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Quote
#5
after clicking on the "Quote" button for post #1, don't click on the "Post Reply" button. instead, just scroll up to the top and click on the pretty Python Art.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)