Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/playground: indentation impossible after depth 3 #8770

Closed
griesemer opened this issue Sep 18, 2014 · 7 comments
Closed

x/tools/playground: indentation impossible after depth 3 #8770

griesemer opened this issue Sep 18, 2014 · 7 comments

Comments

@griesemer
Copy link
Contributor

http://play.golang.org/p/YfHY5z2wVF

Pressing tab on line 7 doesn't indent anymore. Nor is it possible to copy and paste a
tab on that line to get more indentation. Format also doesn't show an additional
indentation level.

This looks like some UI quirk.

It also affects some of the golang.org example programs that have more than 3 levels of
identation.
@adg
Copy link
Contributor

adg commented Sep 18, 2014

Comment 1:

Can you give an example of it happening on golang.org? I can't reproduce it there.

@griesemer
Copy link
Contributor Author

Comment 2:

http://play.golang.org/p/aSUjBN_3p7
1) Go to golang.org
2) Select the Peg Solitaire Solver program
3) Pop out the playground
4) Observe that lines 91ff are not properly indented
I think the line 91 is also not properly indented when the playground is not popped out,
but it's harder to see. On that line, tabs don't seem to work.

@adg
Copy link
Contributor

adg commented Sep 18, 2014

Comment 3:

OK, sorry I thought you were saying the issue was visible on golang.org. I now see that
it is only a playground issue.

@robpike
Copy link
Contributor

robpike commented Oct 30, 2014

Comment 4:

What's weirder is that the indentation exists, as can be demonstrated by copying the
line and pasting it somewhere else, but it doesn't display.

@neild
Copy link
Contributor

neild commented Oct 30, 2014

Comment 5:

The indentation displays for me with Chrome on Linux. Chrome on OS X, indentation stops
at three tabs.

@bradfitz
Copy link
Contributor

@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@rsc rsc changed the title playground: indentation impossible after depth 3 x/playground: indentation impossible after depth 3 Apr 14, 2015
@rsc rsc modified the milestones: Unreleased, Unplanned Apr 14, 2015
@ucirello
Copy link
Contributor

@adg this can be closed. I tested on Chrome on X and it worked fine.

@robpike robpike closed this as completed Jun 26, 2015
@mikioh mikioh changed the title x/playground: indentation impossible after depth 3 x/tools/playground: indentation impossible after depth 3 Jun 27, 2015
@golang golang locked and limited conversation to collaborators Jun 27, 2016
@rsc rsc unassigned adg Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants