The quotation, despite what is said in the movie, is not from Jane Eyre; it comes from a poem by Charlotte Brontë called "Evening Solace". It can be found in collections of the Brontë sisters' poetry. Here is the portion quoted in the film:
The human heart has hidden treasures,
In secret kept, in silence sealed;
The thoughts, the hopes, the dreams, the pleasures,
Whose charms were broken if revealed.