Past Perfect Progressive (Past Perfect Continuous) Definition
The Past Perfect Progressive is used for actions that were unfinished when another action, etc, took place:
I had been living there for years before I got married.
Some books use the term Past Perfect Progressive, and others use Past Perfect Continuous.
See Also:
Present Perfect; Aspect; Perfect Aspect; Progressive Aspect; Auxiliary Verb; Future Perfect; Tense Past Perfect