Avoid line_code and position calculation on line partial for plain view
What does this MR do?
Avoid methods calls that are not used when rendering diff lines as plain, and this happen on discussions
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
What are the relevant issue numbers?
Relates with #14202 (moved) but there are more work to do there
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added [ ] Documentation created/updated[ ] API support added- Tests
[ ] Added for this feature/bug-
All builds are passing
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together