GSoC/GCI Archive
Google Code-in 2012 Haiku

StyledEdit - doesn't handle "be:line" in RefsReceived.( ticket #4794)

completed by: Vlad Slepukhin

mentors: Richie Nyhus, Humdinger, Diver, Siarzhuk Zharski

The goal of this task is the implementing correct solution to fix issue described in Haiku Trac as ticket #4794. This is a coding task, for this task you will need to have a Haiku build environment setup, and be able to compile either Haiku or standalone StyledEdit project to fix the problem and check if your solution works. The basic knowledge of GIT SCM is also needed.

Requirements:

  • Install Haiku either on real hardware or in Virtual Machine (BTW, I can assist installing VirtualBox so it is obviously recommended by me);
  • Take familiar with the problem you should fix;
  • Get either the Haiku source tree or standalone StyledEdit project sources build it and find solution to fix the problem;
  • Note that fix should include both "be:line" support and "be:selection_offset" and "be:selection_length" as described in comments;
  • "Support" means writing corresponding attributes to file during saving, restoring them on opening file and applying the line position and selection in the StyleEdit text view;
  • After completing this task, please provide us with the git-formatted patch implementing your fix.

Resources:

Haiku Alpha A4.1 (required developer tools are included) http://www.haiku-os.org/get-haiku

Ticket "[StyledEdit] doesn't handle "be:line" in RefsReceived" http://dev.haiku-os.org/ticket/4794

Standalone StyledEdit project at gitorious.org: https://gitorious.org/gci2012/stylededit

Getting and building Haiku sources: http://www.haiku-os.org/guides/building

Varios Haiku development resources: http://www.haiku-os.org/development

Haiku Coding Guidelines: https://www.haiku-os.org/development/coding-guidelines


Good luck!