Step 3: Integrate
\(\int\frac{\sin x}{\sin x-\cos x}dx=\frac{1}{2}\int dx+\frac{1}{2}\int\frac{\sin x+\cos x}{\sin x-\cos x}dx\). The numerator of the second integral is the derivative of the denominator.
Step 4: Calculation
\(=\frac{x}{2}+\frac{1}{2}\log|\sin x-\cos x|+c\). So \(A=\frac{1}{2}\) and \(B=\frac{1}{2}\), giving \(A+B=1\).
Final Answer:
A plus B equals 1.
\[ \boxed{\text{(A) }1} \]