Where can I find the source code of sculpt mode? Im developing a new behaviour for sculpt mode, but I couldn't find the source code. 

How can I view and/or edit the source code?
Sculpt mode isn't developed in Python, it's in C. It can be found that in \source\blender\editors\sculpt_paint.