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

[3/5] Adding line scanner. #34

Merged
merged 19 commits into from
May 27, 2018

Conversation

mum4k
Copy link
Owner

@mum4k mum4k commented May 14, 2018

The line scanner identifies and counts lines in the input text and
performs wrapping if required.

Works on #4

@mum4k mum4k self-assigned this May 14, 2018
@mum4k mum4k requested a review from chipmunkie May 14, 2018 21:40
@coveralls
Copy link

coveralls commented May 14, 2018

Pull Request Test Coverage Report for Build 63

  • 258 of 278 (92.81%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+4.0%) to 85.653%

Changes Missing Coverage Covered Lines Changed/Added Lines %
widgets/text/line_scanner.go 61 63 96.83%
widgets/text/scroll.go 63 65 96.92%
widgets/text/text.go 134 150 89.33%
Totals Coverage Status
Change from base Build 28: 4.0%
Covered Lines: 1791
Relevant Lines: 2091

💛 - Coveralls

desc string
r rune
point image.Point
width int
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some clarification which field refers to the canvas. It's a bit confusing.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Added a comment and renamed width to cvsWidth.

@mum4k mum4k merged commit e3a4106 into text-widget/2/write-options May 27, 2018
@mum4k mum4k deleted the text-widget/3/line-scanner branch May 27, 2018 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants