I was about to post this question, but could finally solve it, so... just in case anyone has this problem, here's what i did. So i wanted to go from the pdf to tex code with the "jump to source" option when i right click. But this option was missing, and "no synctex data available" showed when i compiled. It turns out that my files were in a subfolder of a folder which i had renamed a few days ago. This renaming had a spanish accent in it (á), and when i renamed this folder again (without the á this time), texworks started to work normally again. I don't know if I should have posted this, but it took me quite a while to figure out what was happening and my google searches weren't that helpful.
closed as not a real question by Werner, Martin Schröder, Thorsten, percusse, Kurt Dec 24 '12 at 17:59
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.