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

misc/notepadplus: dot and underscore character should not be Operators #5798

Closed
chai2010 opened this issue Jun 27, 2013 · 3 comments
Closed

Comments

@chai2010
Copy link
Contributor

Right now, if a identifier start with "int_" or "int.",
identifier will be split two part, and the prefix highlight.

Attachments:

  1. go_highlight_issue.jpg (3911 bytes)
@chai2010
Copy link
Contributor Author

Comment 1:

the patch has been sent as https://golang.org/cl/10669043/

@chai2010
Copy link
Contributor Author

Comment 2:

complete code:
package main
import "fmt"
type int byte
func (p int) Foo() {
    fmt.Printf("int.Foo: %v\n", p)
}
func int_Foo(x byte) {
    f := int.Foo
    f(int(x))
}
func main() {
    int_Foo(32)
}
http://play.golang.org/p/Mkkd2scnh7

@robpike
Copy link
Contributor

robpike commented Jul 26, 2013

Comment 3:

This issue was closed by revision c44e483.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
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

3 participants