With increasing availability of proton and particle therapy centers for tumor treatment, the need for in vivo range verification methods comes more into the focus. Imaging of prompt gamma rays emitted during the treatment is one of the possibilities currently under investigation. A knife-edge shaped slit camera was recently proposed for this task and measurements proved the feasibility of range deviation detection in homogeneous and inhomogeneous targets. In the present paper, we concentrate on laterally inhomogeneous materials, which lead to range mixing situations when crossed by one pencil beam: different sections of the beam have different ranges. We chose exemplative cases from clinical irradiation and assembled idealized tissue equivalent targets. One-dimensional emission profiles were obtained by measuring the prompt gamma emission with the slit camera. It could be shown that the resulting range deviations can be detected by evaluation of the measured data with a previously developed range deviation detection algorithm. The retrieved value, however, strongly depends on the target composition, and is not necessarily in direct relation to the ranges of both parts of the beam. By combining the range deviation detection with an analysis of the slope of the distal edge of the measured prompt gamma profile, the origin of the detected range deviation, i.e. the mixed range of the beam, is also identified. It could be demonstrated that range mixed prompt gamma profiles exhibit less steep distal slopes than profiles from beams traversing laterally homogeneous material. For future application of the slit camera to patient irradiation with double scattered proton beams, situations similar to the range mixing cases are present and results could possibly apply