{"action":"created","issue":{"url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/158","labels_url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/158/comments","events_url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/158/events","html_url":"https://github.com/jacobslusser/ScintillaNET/issues/158","id":121366968,"number":158,"title":"Scrolling and Wrapping Issue","user":{"login":"Mikeeeyy","id":8274829,"avatar_url":"https://avatars.githubusercontent.com/u/8274829?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikeeeyy","html_url":"https://github.com/Mikeeeyy","followers_url":"https://api.github.com/users/Mikeeeyy/followers","following_url":"https://api.github.com/users/Mikeeeyy/following{/other_user}","gists_url":"https://api.github.com/users/Mikeeeyy/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikeeeyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikeeeyy/subscriptions","organizations_url":"https://api.github.com/users/Mikeeeyy/orgs","repos_url":"https://api.github.com/users/Mikeeeyy/repos","events_url":"https://api.github.com/users/Mikeeeyy/events{/privacy}","received_events_url":"https://api.github.com/users/Mikeeeyy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-09T23:36:55Z","updated_at":"2015-12-16T01:42:17Z","closed_at":null,"body":"Currently I'm using Scintilla with WrapMode on Word and it works great. I'm also making it scroll to the bottom to keep up, which is where the problem occurs. It only scrolls the first line into visibility regardless of whether it's visually 2 or 3. Obviously this is only viewed as 2 or 3 lines but still only counts as 1 actual line. If I add a button to my form to manually scroll to the bottom it does, so it's like it takes some time to figure out that it needs to go multiple lines rather than just 1. This is the code I'm using:\r\n```\r\nScintilla.AppendText(\"text here\");\r\nScintilla.GotoPosition(Scintilla.TextLength);\r\nScintilla.ScrollCaret();\r\n```\r\n\r\nHere's the bottom of my Scintilla:\r\n![image](https://cloud.githubusercontent.com/assets/8274829/11702312/98121826-9ecd-11e5-8b07-2a8585013bd2.png)\r\nAs you can see the scrollbar isn't all the way at the bottom.\r\n\r\nHere's how it should be:\r\n![image](https://cloud.githubusercontent.com/assets/8274829/11702333/b5eda784-9ecd-11e5-8769-a58481944c9b.png)\r\n\r\nAlso, I was trying to detect if the Scintilla was scrolled all the way to the bottom like this:\r\n```\r\nScintilla.Lines[Scintilla.Lines.Count - 1].Visible\r\n```\r\nbut it didn't work at all, it kept returning true. Am I using it incorrectly or is it bugged?"},"comment":{"url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/comments/164959356","html_url":"https://github.com/jacobslusser/ScintillaNET/issues/158#issuecomment-164959356","issue_url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/158","id":164959356,"user":{"login":"Mikeeeyy","id":8274829,"avatar_url":"https://avatars.githubusercontent.com/u/8274829?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikeeeyy","html_url":"https://github.com/Mikeeeyy","followers_url":"https://api.github.com/users/Mikeeeyy/followers","following_url":"https://api.github.com/users/Mikeeeyy/following{/other_user}","gists_url":"https://api.github.com/users/Mikeeeyy/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikeeeyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikeeeyy/subscriptions","organizations_url":"https://api.github.com/users/Mikeeeyy/orgs","repos_url":"https://api.github.com/users/Mikeeeyy/repos","events_url":"https://api.github.com/users/Mikeeeyy/events{/privacy}","received_events_url":"https://api.github.com/users/Mikeeeyy/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T01:42:17Z","updated_at":"2015-12-16T01:42:17Z","body":"How would I go about checking if the scrollbar is max? The only property I can see related is VScrollBar which doesn't offer any further properties."}}